summaryrefslogtreecommitdiff
path: root/src/unistd/_exit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/_exit.c')
-rw-r--r--src/unistd/_exit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd/_exit.c b/src/unistd/_exit.c
index fde6d675..4f1ef7e6 100644
--- a/src/unistd/_exit.c
+++ b/src/unistd/_exit.c
@@ -5,7 +5,7 @@
void _exit(int status)
{
- __libc.syscall(__libc.syscall_lookup("exit"), status);
+ __syscall(((syscall_lookup_t)__libc(SYSCALL_LOOKUP))("exit"), status);
for (;;);
}
/*