From 1221e834f49adb91eb0b7443a57274f2611459c2 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Sat, 23 Feb 2019 15:22:33 -0500 Subject: compile in current environment --- src/unistd/_exit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/unistd/_exit.c') 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 (;;); } /* -- cgit v1.2.1