From 5dc6270b57cfd1c02523b3be1f1844cb7a743a8b Mon Sep 17 00:00:00 2001 From: Ali Mohammad Pur Date: Mon, 26 Jul 2021 14:10:28 +0430 Subject: Kernel: Remove invalid '#' format modifier for printing a faulting addr This was mistakenly added in 306d898ee56c0d277d865dd4e3afba3d95eab9aa. --- Kernel/Arch/x86/common/Interrupts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Kernel/Arch') 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) { -- cgit v1.2.3