summaryrefslogtreecommitdiff
path: root/src/unistd/_exit.c
diff options
context:
space:
mode:
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 53e7ddba..f892dd59 100644
--- a/src/unistd/_exit.c
+++ b/src/unistd/_exit.c
@@ -5,7 +5,7 @@
void _exit(int status)
{
- long scno = __lookup("exit");
+ long scno = __syscall_lookup(exit);
for (;;) {
__syscall(scno, status);
}