From 5dcfbbdbe08fe7b8cab61ad8f2fe3cd167cb2fc3 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Mon, 25 Feb 2019 22:06:29 -0500 Subject: actually call the syscall --- src/stdlib/exit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/stdlib') 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 */ } -- cgit v1.2.1