summaryrefslogtreecommitdiff
path: root/src/unistd/_exit.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-02-23 15:22:33 -0500
committerJakob Kaivo <jkk@ung.org>2019-02-23 15:22:33 -0500
commit1221e834f49adb91eb0b7443a57274f2611459c2 (patch)
tree7afb7ed5a203ddefd5559005af7ec61d801b972e /src/unistd/_exit.c
parentf546f27d1fdb8d2663b2fbb130f53ee32cac90b0 (diff)
compile in current environment
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 (;;);
}
/*