summaryrefslogtreecommitdiff
path: root/console.c
diff options
context:
space:
mode:
Diffstat (limited to 'console.c')
-rw-r--r--console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/console.c b/console.c
index a91029f..3d19a8e 100644
--- a/console.c
+++ b/console.c
@@ -160,7 +160,7 @@ panic(char *s)
{
__asm __volatile("cli");
use_console_lock = 0;
- cprintf("panic: ");
+ cprintf("panic (%d): ", cpu());
cprintf(s, 0);
cprintf("\n", 0);
panicked = 1; // freeze other CPU