global cleanup to use the new syscall interface
[musl] / src / unistd / setpgid.c
index 748d290..4a5a3d6 100644 (file)
@@ -3,5 +3,5 @@
 
 pid_t setpgid(pid_t pid, pid_t pgid)
 {
-       return syscall2(__NR_setpgid, pid, pgid);
+       return syscall(SYS_setpgid, pid, pgid);
 }