diff options
Diffstat (limited to 'src/stdlib/exit.c')
| -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 f7ce5325..f69f01c7 100644 --- a/src/stdlib/exit.c +++ b/src/stdlib/exit.c @@ -7,7 +7,7 @@ /** cause normal program termination **/ _Noreturn void exit(int status) { - long scno = ((syscall_lookup_t)__libc(SYSCALL_LOOKUP))("exit"); + long scno = __lookup("exit"); struct atexit *ae = __libc(ATEXIT); /* execute all atexit() registered functions in reverse order */ |
