diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-10-30 02:32:02 +0200 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-10-30 02:32:02 +0200 |
| commit | 7a23d95b6e432170d6575f515616e5936d53c85e (patch) | |
| tree | afdc349124ca40c4903b534f750f18e8527bf7c5 /src/panic.c | |
| parent | e7b5881903ad81efee63966e7d2c42524d465dfc (diff) | |
| download | kmi-7a23d95b6e432170d6575f515616e5936d53c85e.tar.gz kmi-7a23d95b6e432170d6575f515616e5936d53c85e.zip | |
bookkeeping
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"); |
