summaryrefslogtreecommitdiff
path: root/Kernel/Arch
diff options
context:
space:
mode:
authorAli Mohammad Pur <ali.mpfard@gmail.com>2021-07-26 14:10:28 +0430
committerAli Mohammad Pur <ali.mpfard@gmail.com>2021-07-26 14:12:09 +0430
commit5dc6270b57cfd1c02523b3be1f1844cb7a743a8b (patch)
tree0fa7851a356e7b7b1fddf194ffc2cd1677e0dda8 /Kernel/Arch
parent7a4f59f638845a2a78d2fd947e297f30d452201f (diff)
downloadserenity-5dc6270b57cfd1c02523b3be1f1844cb7a743a8b.zip
Kernel: Remove invalid '#' format modifier for printing a faulting addr
This was mistakenly added in 306d898ee56c0d277d865dd4e3afba3d95eab9aa.
Diffstat (limited to 'Kernel/Arch')
-rw-r--r--Kernel/Arch/x86/common/Interrupts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Arch/x86/common/Interrupts.cpp b/Kernel/Arch/x86/common/Interrupts.cpp
index c0455c1dab..32b76324ff 100644
--- a/Kernel/Arch/x86/common/Interrupts.cpp
+++ b/Kernel/Arch/x86/common/Interrupts.cpp
@@ -325,7 +325,7 @@ void page_fault_handler(TrapFrame* trap)
if (fault_address >= (FlatPtr)&start_of_unmap_after_init && fault_address < (FlatPtr)&end_of_unmap_after_init) {
dump(regs);
auto sym = symbolicate_kernel_address(fault_address);
- PANIC("Attempt to access UNMAP_AFTER_INIT section ({:#p}: {})", fault_address, sym ? sym->name : "(Unknown)");
+ PANIC("Attempt to access UNMAP_AFTER_INIT section ({:p}: {})", fault_address, sym ? sym->name : "(Unknown)");
}
if (fault_address >= (FlatPtr)&start_of_kernel_ksyms && fault_address < (FlatPtr)&end_of_kernel_ksyms) {