Removed unsafe call from segfault catcher

This commit is contained in:
Matt Hill
2015-12-30 21:11:28 -05:00
parent ca17005374
commit 768ab11ecf

View File

@@ -68,7 +68,6 @@ void segfault_handler(int sig) {
size = backtrace(array, 10); size = backtrace(array, 10);
// print out all the frames to stderr // print out all the frames to stderr
fprintf(stderr, "Error: signal %d:\n", sig);
backtrace_symbols_fd(array, size, STDERR_FILENO); backtrace_symbols_fd(array, size, STDERR_FILENO);
exit(1); exit(1);
} }