diff options
author | Anton Kling <anton@kling.gg> | 2024-04-11 17:22:00 +0200 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2024-04-11 17:23:39 +0200 |
commit | ca082f686fd2dc7ee6f0284421f6212d6d4acee8 (patch) | |
tree | 493b1047661174816f0d1d300952e40e2846b24b /userland/libc/assert.c | |
parent | e25a47fcc4db09ab9b845a691297da67243e6049 (diff) |
bug fixes
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); } |