diff options
| author | Jakob Kaivo <jkk@ung.org> | 2019-02-25 22:06:29 -0500 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2019-02-25 22:06:29 -0500 |
| commit | 5dcfbbdbe08fe7b8cab61ad8f2fe3cd167cb2fc3 (patch) | |
| tree | 3903c2e42d256192a848fbb82791602147c5f25e /src | |
| parent | 98462790bef497a74adb626d8be3edc7d8eba5ec (diff) | |
actually call the syscall
Diffstat (limited to 'src')
| -rw-r--r-- | src/stdlib/exit.c | 2 |
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 */ } |
