summaryrefslogtreecommitdiff
path: root/src/stdlib
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-02-25 22:06:29 -0500
committerJakob Kaivo <jkk@ung.org>2019-02-25 22:06:29 -0500
commit5dcfbbdbe08fe7b8cab61ad8f2fe3cd167cb2fc3 (patch)
tree3903c2e42d256192a848fbb82791602147c5f25e /src/stdlib
parent98462790bef497a74adb626d8be3edc7d8eba5ec (diff)
actually call the syscall
Diffstat (limited to 'src/stdlib')
-rw-r--r--src/stdlib/exit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stdlib/exit.c b/src/stdlib/exit.c
index b0ba271d..8207fd81 100644
--- a/src/stdlib/exit.c
+++ b/src/stdlib/exit.c
@@ -26,7 +26,7 @@ _Noreturn void exit(int status)
*/
(void)status;
- /* __syscall(__libc(SYSCALL_LOOKUP)("exit"), status); */
+ __syscall(((long (*)(char*))__libc(SYSCALL_LOOKUP))("exit"), status);
for (;;); /* quiet _Noreturn functions returns warning */
}