From 251b7f3776d11eea662cc68fd51b4c911c548d00 Mon Sep 17 00:00:00 2001 From: Liav A Date: Mon, 2 Mar 2020 00:06:48 +0200 Subject: [PATCH] CPU: Change debug messages to fit the latest changes --- Kernel/Arch/i386/CPU.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kernel/Arch/i386/CPU.cpp b/Kernel/Arch/i386/CPU.cpp index c8cb0cd41b..c916bc4713 100644 --- a/Kernel/Arch/i386/CPU.cpp +++ b/Kernel/Arch/i386/CPU.cpp @@ -177,7 +177,7 @@ void handle_crash(RegisterState& regs, const char* description, int signal) // make sure we switch back to the right page tables. MM.enter_process_paging_scope(*Process::current); - klog() << "CRASH: " << description << ". " << (Process::current->is_ring0() ? "Kernel" : "Process") << ": " << Process::current->name().characters() << "(" << Process::current->pid() << ")"; + klog() << "CRASH: " << description << ". Ring " << (Process::current->is_ring0() ? 0 : 3) << "."; dump(regs); if (Process::current->is_ring0()) {