diff options
Diffstat (limited to 'libc/inc/assert.h')
-rw-r--r-- | libc/inc/assert.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/inc/assert.h b/libc/inc/assert.h index 758c91b..f4fa4b4 100644 --- a/libc/inc/assert.h +++ b/libc/inc/assert.h @@ -21,7 +21,7 @@ #define assert(exp) \ if (!(exp)) { \ printf("%s:%d: %s: Assertion '%s' failed\n", __FILE__, __LINE__, __func__, #exp); \ - sys1(SYS_EXIT, 1); \ + exit(1); \ } #else #error "No lib target specified. Please use -Dkernel or -Duserspace" |