diff --git a/src/distromatic.c b/src/distromatic.c index 2e048c8..0bc8a87 100644 --- a/src/distromatic.c +++ b/src/distromatic.c @@ -205,10 +205,10 @@ void backtraceHandler(int sig) size = backtrace (array, 10); strings = (char**)backtrace_symbols (array, size); - printf ("Obtained %zd stack frames.\n", size); + fprintf(stderr, "Obtained %zd stack frames.\n", size); for (i = 0; i < size; i++) - printf ("%s\n", strings[i]); + fprintf(stderr, "%s\n", strings[i]); free (strings); exit(1);