diff options
Diffstat (limited to 'src/kernel/user/syscall.c')
-rw-r--r-- | src/kernel/user/syscall.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/kernel/user/syscall.c b/src/kernel/user/syscall.c index 9497bf2..db32fa9 100644 --- a/src/kernel/user/syscall.c +++ b/src/kernel/user/syscall.c @@ -61,10 +61,9 @@ uint32_t dbg_print_sc(sc_args_t args) { if (msg == 0) return -1; if (strchr(msg, '\n')) { - dbg_printf("[%d] %s", current_process()->pid, msg); - } else { - dbg_print(msg); + dbg_printf("[%d] ", current_process()->pid); } + dbg_print(msg); free(msg); return 0; |