From: John Hodge Date: Sat, 31 May 2014 05:45:29 +0000 (+0800) Subject: Kernel/debug - make Panic() emit red text X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=47e16a4f3eef67b009c3a0389d6e03b95e6dca57;p=tpg%2Facess2.git Kernel/debug - make Panic() emit red text --- diff --git a/KernelLand/Kernel/debug.c b/KernelLand/Kernel/debug.c index d0de25ab..b32036e5 100644 --- a/KernelLand/Kernel/debug.c +++ b/KernelLand/Kernel/debug.c @@ -249,12 +249,12 @@ void Panic(const char *Fmt, ...) Debug_KernelPanic(); + Debug_Puts(1, "\x1b[31m"); Debug_Puts(1, "Panic: "); va_start(args, Fmt); Debug_Fmt(1, Fmt, args); va_end(args); - Debug_Putchar('\r'); - Debug_Putchar('\n'); + Debug_Puts(1, "\x1b[0m\r\n"); Proc_PrintBacktrace(); //Threads_Dump();