summaryrefslogtreecommitdiff
path: root/rts/RtsMessages.c
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2017-10-03 20:41:17 -0400
committerBen Gamari <ben@smart-cactus.org>2017-10-03 20:41:17 -0400
commit3030eee24c9d538f7ae2c854fd86129563b6ddf3 (patch)
treebe9a54454a4737bdc728a8d016342078470b5658 /rts/RtsMessages.c
parent3201d85f48e47ea10a49d4222ca0570824aa81d8 (diff)
downloadhaskell-3030eee24c9d538f7ae2c854fd86129563b6ddf3.tar.gz
rts: Print newline after "Stack trace:" on barf
[skip ci]
Diffstat (limited to 'rts/RtsMessages.c')
-rw-r--r--rts/RtsMessages.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/RtsMessages.c b/rts/RtsMessages.c
index 5782c0dadb..ba1f02de29 100644
--- a/rts/RtsMessages.c
+++ b/rts/RtsMessages.c
@@ -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);