X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FKernel%2Fdebug.c;h=b32036e5a277dbe92ab0e3955bf883f8fac957e2;hb=87e4d6f72ec0c006b60eecd1364ed26e48002c99;hp=d0de25abc389255c4ab9378bd57321d4d57b6a4f;hpb=e2744a459d1c63435d7348d0bfd0e4b92b0ec9f9;p=tpg%2Facess2.git 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();