diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-10-30 00:57:33 +0200 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-10-30 00:57:33 +0200 |
| commit | 44a73ecab6e91519627786a5101cd4f1a2f2b0d7 (patch) | |
| tree | f5c811050a4d5ee832f5883c4d0c27efddd60817 /src/panic.c | |
| parent | 5976ad390a15726c3ddfacf8c8b282c8350f9554 (diff) | |
| download | kmi-44a73ecab6e91519627786a5101cd4f1a2f2b0d7.tar.gz kmi-44a73ecab6e91519627786a5101cd4f1a2f2b0d7.zip | |
most of the way to passing tests
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"); |
