This commit is contained in:
rsc 2007-09-27 20:25:32 +00:00
parent 3807c1f20b
commit aefc13f8ba

View file

@ -292,7 +292,7 @@ panic(char *s)
__asm __volatile("cli"); __asm __volatile("cli");
use_console_lock = 0; use_console_lock = 0;
cprintf("panic (%d): ", cpu()); cprintf("cpu%d: panic: ", cpu());
cprintf(s, 0); cprintf(s, 0);
cprintf("\n", 0); cprintf("\n", 0);
getcallerpcs(&s, pcs); getcallerpcs(&s, pcs);