aboutsummaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorMarvin Borner2020-09-15 22:30:45 +0200
committerMarvin Borner2020-09-15 22:30:45 +0200
commit857c228909603d1a27a40f2714f8b9076fabba6e (patch)
tree19fe7eb4f41975de4a161d4ef55fcd4fba4fbec6 /libc
parent1a99700287749211aec38cb58ea2664585154794 (diff)
Keymaps n stuff
Diffstat (limited to 'libc')
-rw-r--r--libc/inc/assert.h2
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"