diff options
| author | Jakob Kaivo <jkk@ung.org> | 2019-02-27 21:20:49 -0500 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2019-02-27 21:20:49 -0500 |
| commit | 387a9f5702a0bd867df3116fd8f5a24a05f8633e (patch) | |
| tree | 30e1e80c80aa0671638123fc9886639ded717174 /src/unistd | |
| parent | a4a76ebe51a9c25c76f88b2ae1560491372e0787 (diff) | |
use __lookup() instead of manual casting
Diffstat (limited to 'src/unistd')
| -rw-r--r-- | src/unistd/_exit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd/_exit.c b/src/unistd/_exit.c index 618b839c..0a61e87c 100644 --- a/src/unistd/_exit.c +++ b/src/unistd/_exit.c @@ -5,7 +5,7 @@ void _exit(int status) { - long scno = ((syscall_lookup_t)__libc(SYSCALL_LOOKUP))("exit"); + long scno = __lookup("exit"); for (;;) { __syscall(scno, status); } |
