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