diff options
author | Liav A <liavalb@gmail.com> | 2020-03-02 00:06:48 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-03-02 22:23:39 +0100 |
commit | 251b7f3776d11eea662cc68fd51b4c911c548d00 (patch) | |
tree | c8046b36e345549f78451cdccbee6f263d14c887 /Kernel | |
parent | f0ca29eb4b867037727d5ee25262c13b2a162439 (diff) | |
download | serenity-251b7f3776d11eea662cc68fd51b4c911c548d00.zip |
CPU: Change debug messages to fit the latest changes
Diffstat (limited to 'Kernel')
-rw-r--r-- | Kernel/Arch/i386/CPU.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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()) { |