diff options
Diffstat (limited to 'userland/libc/assert.c')
-rw-r--r-- | userland/libc/assert.c | 6 |
1 files changed, 4 insertions, 2 deletions
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 <stdio.h> #include <stdlib.h> +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); } |