aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/system.h')
-rw-r--r--src/kernel/system.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/system.h b/src/kernel/system.h
index 8cd4244..53e567d 100644
--- a/src/kernel/system.h
+++ b/src/kernel/system.h
@@ -121,7 +121,7 @@ static inline void panic(char *msg) {
terminal_write_string("PANIC: ");
terminal_write_string(msg);
terminal_write_string(" - System Halted!");
- write_serial(msg);
+ serial_write(msg);
loop:
asm volatile ("hlt");
goto loop;