rts: Print newline after "Stack trace:" on barf
authorBen Gamari <ben@smart-cactus.org>
Wed, 4 Oct 2017 00:41:17 +0000 (20:41 -0400)
committerBen Gamari <ben@smart-cactus.org>
Wed, 4 Oct 2017 00:41:17 +0000 (20:41 -0400)
[skip ci]

rts/RtsMessages.c

index 5782c0d..ba1f02d 100644 (file)
@@ -166,7 +166,7 @@ rtsFatalInternalErrorFn(const char *s, va_list ap)
      vfprintf(stderr, s, ap);
 #if USE_LIBDW
      fprintf(stderr, "\n");
-     fprintf(stderr, "Stack trace:");
+     fprintf(stderr, "Stack trace:\n");
      LibdwSession *session = libdwInit();
      Backtrace *bt = libdwGetBacktrace(session);
      libdwPrintBacktrace(session, stderr, bt);