about summary refs log tree commit diff
path: root/src/unistd/getsid.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/getsid.c')
-rw-r--r--src/unistd/getsid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd/getsid.c b/src/unistd/getsid.c
index 064229cf..93ba690e 100644
--- a/src/unistd/getsid.c
+++ b/src/unistd/getsid.c
@@ -3,5 +3,5 @@
 
 pid_t getsid(pid_t pid)
 {
-	return syscall1(__NR_getsid, pid);
+	return syscall(SYS_getsid, pid);
 }