diff --git a/kernel/src/Log.cpp b/kernel/src/Log.cpp index 9c7baf64..34007c6a 100644 --- a/kernel/src/Log.cpp +++ b/kernel/src/Log.cpp @@ -151,9 +151,10 @@ static bool g_check_already_failed = false; if (!g_check_already_failed) { // Avoid endlessly failing when trying to report a failed check. g_check_already_failed = true; - kerrorln("KERNEL PANIC: Check failed at %s:%d, in %s: %s", location.file(), location.line(), + kerrorln("-- KERNEL PANIC: Check failed at %s:%d, in %s: %s --", location.file(), location.line(), location.function(), expr); CPU::print_stack_trace(); + kerrorln("-- END KERNEL PANIC --"); } CPU::efficient_halt(); }