summaryrefslogtreecommitdiff
path: root/src/kernel/panic.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/panic.c')
-rw-r--r--src/kernel/panic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/panic.c b/src/kernel/panic.c
index 7793065..a2e68e3 100644
--- a/src/kernel/panic.c
+++ b/src/kernel/panic.c
@@ -3,7 +3,7 @@
#include "vga.h"
void panic(const char *message) {
- vga_set_color(0x4f);
+ set_log_mode(LOG_PANIC);
vga_blank();
logsz("Kernel panic: ");
logsz(message);