diff options
Diffstat (limited to 'src/panic.c')
| -rw-r--r-- | src/panic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/panic.c b/src/panic.c index 34bfa69..afb598e 100644 --- a/src/panic.c +++ b/src/panic.c @@ -14,8 +14,8 @@ void kernel_panic(void *pc, void *addr, long cause) { /* could be useful to print out register values as well? */ - error("thread %d kernel paniced at pc: %p with address %p and cause %lx\n", - cur_tcb()->cpu_id, pc, addr, cause); + error("kernel paniced at pc: %p with address %p and cause %lx\n", + pc, addr, cause); info("attempting to reboot\n"); |
