diff options
Diffstat (limited to 'src/kernel/panic.h')
-rw-r--r-- | src/kernel/panic.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kernel/panic.h b/src/kernel/panic.h index 738bff3..c4cd194 100644 --- a/src/kernel/panic.h +++ b/src/kernel/panic.h @@ -3,9 +3,9 @@ #include <kernel/util.h> #define _panic(type) do { \ - tty_const(" an "type" PANIC! at the "); \ - tty_const(__func__); \ - tty_const(" (" __FILE__ ":" NUM2STR(__LINE__) ") "); \ + kprintf(" an "type" PANIC! at the "); \ + kprintf(__func__); \ + kprintf(" (" __FILE__ ":" NUM2STR(__LINE__) ") "); \ halt_cpu(); \ } while (0) |