Commit 3030eee2 authored by Ben Gamari's avatar Ben Gamari 🐢
Browse files

rts: Print newline after "Stack trace:" on barf

[skip ci]
parent 3201d85f
...@@ -166,7 +166,7 @@ rtsFatalInternalErrorFn(const char *s, va_list ap) ...@@ -166,7 +166,7 @@ rtsFatalInternalErrorFn(const char *s, va_list ap)
vfprintf(stderr, s, ap); vfprintf(stderr, s, ap);
#if USE_LIBDW #if USE_LIBDW
fprintf(stderr, "\n"); fprintf(stderr, "\n");
fprintf(stderr, "Stack trace:"); fprintf(stderr, "Stack trace:\n");
LibdwSession *session = libdwInit(); LibdwSession *session = libdwInit();
Backtrace *bt = libdwGetBacktrace(session); Backtrace *bt = libdwGetBacktrace(session);
libdwPrintBacktrace(session, stderr, bt); libdwPrintBacktrace(session, stderr, bt);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment