summaryrefslogtreecommitdiff
path: root/src/kernel/syscalls.c
diff options
context:
space:
mode:
authordzwdz2022-04-14 12:19:51 +0200
committerdzwdz2022-04-14 12:19:51 +0200
commit2eead2f6eab2aa1fbc727ce28d9fa9a8e90a1eec (patch)
treed4bb0ae50e5f612a4fae67763414f72ea1a85b8a /src/kernel/syscalls.c
parentdcb2ce6337f54a9821e3971976a07e767846e3c1 (diff)
kernel: port init's `printf` implementation
Diffstat (limited to 'src/kernel/syscalls.c')
-rw-r--r--src/kernel/syscalls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/syscalls.c b/src/kernel/syscalls.c
index dfd7dd4..0a25a63 100644
--- a/src/kernel/syscalls.c
+++ b/src/kernel/syscalls.c
@@ -286,7 +286,7 @@ int _syscall(int num, int a, int b, int c, int d) {
case _SYSCALL_MEMFLAG:
return _syscall_memflag((userptr_t)a, b, c);
default:
- tty_const("unknown syscall ");
+ kprintf("unknown syscall ");
panic_unimplemented(); // TODO fail gracefully
}
}