summaryrefslogtreecommitdiff
path: root/src/kernel/panic.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/panic.h')
-rw-r--r--src/kernel/panic.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kernel/panic.h b/src/kernel/panic.h
index 3f48c22..1e25a83 100644
--- a/src/kernel/panic.h
+++ b/src/kernel/panic.h
@@ -3,8 +3,8 @@
#include <kernel/util.h>
#define panic() do { \
- log_const(" PANIC! at the "); \
- log_const(__func__); \
- log_const(" (" __FILE__ ":" NUM2STR(__LINE__) ") "); \
+ tty_const(" PANIC! at the "); \
+ tty_const(__func__); \
+ tty_const(" (" __FILE__ ":" NUM2STR(__LINE__) ") "); \
halt_cpu(); \
} while (0)