about summary refs log tree commit diff
path: root/src/unistd/setsid.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/setsid.c')
-rw-r--r--src/unistd/setsid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd/setsid.c b/src/unistd/setsid.c
index e2c5690c..609bbe4a 100644
--- a/src/unistd/setsid.c
+++ b/src/unistd/setsid.c
@@ -3,5 +3,5 @@
 
 pid_t setsid(void)
 {
-	return syscall0(__NR_setsid);
+	return syscall(SYS_setsid);
 }