summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 */
}