From 09b8136ef9d451f18f1f5bd79fc8d8221a74049b Mon Sep 17 00:00:00 2001 From: Drew Galbraith Date: Tue, 30 May 2023 23:52:50 -0700 Subject: [PATCH] Fix formatting on panic --- zion/debug/debug.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zion/debug/debug.cpp b/zion/debug/debug.cpp index 440e7e9..f81dc73 100644 --- a/zion/debug/debug.cpp +++ b/zion/debug/debug.cpp @@ -155,7 +155,8 @@ void panic(const char* fmt, ...) { va_start(arg, fmt); dbg_internal(fmt, arg); va_end(arg); - dbgln("\nPANIC"); + dbgputchar('\n'); + dbgln("PANIC"); while (1) ; }