summaryrefslogtreecommitdiff
path: root/src/kernel/panic.c
diff options
context:
space:
mode:
authorBenji Dial <benji6283@gmail.com>2020-09-06 13:44:20 -0400
committerBenji Dial <benji6283@gmail.com>2020-09-06 13:44:20 -0400
commit73bb0e48640b842824a0b45fe4854df8ff7faf7b (patch)
tree077dec8a426db1e835393964da4736e91ff4c69d /src/kernel/panic.c
parentcbc85f6e897808b29e2f712156e2fa4d073d8277 (diff)
downloadportland-os-73bb0e48640b842824a0b45fe4854df8ff7faf7b.tar.gz
bugfixes, init program, hello world
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);