From ca082f686fd2dc7ee6f0284421f6212d6d4acee8 Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Thu, 11 Apr 2024 17:22:00 +0200 Subject: bug fixes --- userland/libc/assert.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'userland/libc/assert.c') diff --git a/userland/libc/assert.c b/userland/libc/assert.c index 4082f64..6a3bd6e 100644 --- a/userland/libc/assert.c +++ b/userland/libc/assert.c @@ -2,8 +2,10 @@ #include #include +int debug_printf(const char *fmt, ...); + void aFailed(char *f, int l) { - printf("Assert failed\n"); - printf("%s : %d\n", f, l); + debug_printf("Assert failed\n"); + debug_printf("%s : %d\n", f, l); exit(1); } -- cgit v1.2.3