From baa23cb527f5f22c247f54bcc6f261260babd737 Mon Sep 17 00:00:00 2001 From: dzaima Date: Mon, 4 Dec 2023 11:35:34 +0200 Subject: [PATCH] add a trailing newline to double-fatal message apparently 'puts' has a trailing newline but 'fputs' doesn't --- src/core/stuff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/stuff.c b/src/core/stuff.c index 1cda4d5e..baea42d9 100644 --- a/src/core/stuff.c +++ b/src/core/stuff.c @@ -15,7 +15,7 @@ NORETURN NOINLINE void fatal(char* s) { gc_depth=1; #endif if (inErr) { - fputs("\nCBQN encountered a fatal error during information printing of another fatal error. Exiting without printing more info.", stderr); + fputs("\nCBQN encountered a fatal error during information printing of another fatal error. Exiting without printing more info.\n", stderr); #if DEBUG __builtin_trap(); #endif