Send backtrace to stderr

This commit is contained in:
Jack Andersen 2016-09-08 18:18:15 -10:00
parent ac88aa934d
commit a190c5cfb6
1 changed files with 2 additions and 1 deletions

View File

@ -124,8 +124,9 @@ void logvisorAbort()
char** strings = backtrace_symbols(array, size);
for (size_t i = 0; i < size; i++)
printf("%s\n", strings[i]);
fprintf(stderr, "%s\n", strings[i]);
fflush(stderr);
free(strings);
abort();
}