From 83cc53def0abb6f44ebd95a7175e717e3c66cd48 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Tue, 9 May 2017 19:29:06 +0200 Subject: Grids & lua debugging --- src/kernel/user/syscall.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/kernel') 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; -- cgit v1.2.3