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