about summary refs log tree commit diff
path: root/src/exit/exit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/exit/exit.c')
-rw-r--r--src/exit/exit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exit/exit.c b/src/exit/exit.c
index ca11b9ad..17b33cc6 100644
--- a/src/exit/exit.c
+++ b/src/exit/exit.c
@@ -38,7 +38,7 @@ _Noreturn void exit(int code)
 	int tid =  __pthread_self()->tid;
 	int prev = a_cas(exit_lock, 0, tid);
 	if (prev == tid) a_crash();
-	else if (prev) for (;;) __syscall(SYS_pause);
+	else if (prev) for (;;) __sys_pause();
 
 	__funcs_on_exit();
 	__libc_exit_fini();