about summary refs log tree commit diff
path: root/src/exit
diff options
context:
space:
mode:
Diffstat (limited to 'src/exit')
-rw-r--r--src/exit/_Exit.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/exit/_Exit.c b/src/exit/_Exit.c
index 8ef85a8f..d18b6183 100644
--- a/src/exit/_Exit.c
+++ b/src/exit/_Exit.c
@@ -1,9 +1,8 @@
 #include <stdlib.h>
-#define SYSCALL_NORETURN
 #include "syscall.h"
 
 void _Exit(int ec)
 {
-	syscall1(__NR_exit_group, ec);
-	syscall1(__NR_exit, ec);
+	__syscall(__NR_exit_group, ec);
+	__syscall(__NR_exit, ec);
 }