add a trailing newline to double-fatal message

apparently 'puts' has a trailing newline but 'fputs' doesn't
This commit is contained in:
dzaima 2023-12-04 11:35:34 +02:00
parent ecb2d5f63a
commit baa23cb527

View File

@ -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