global cleanup to use the new syscall interface
[musl] / src / unistd / getpgid.c
index 50d716b..d295bfd 100644 (file)
@@ -3,5 +3,5 @@
 
 pid_t getpgid(pid_t pid)
 {
-       return syscall1(__NR_getpgid, pid);
+       return syscall(SYS_getpgid, pid);
 }