global cleanup to use the new syscall interface
[musl] / src / process / waitpid.c
index 0ddcd15..ec2757b 100644 (file)
@@ -3,5 +3,5 @@
 
 pid_t waitpid(pid_t pid, int *status, int options)
 {
-       return syscall4(__NR_wait4, pid, (long)status, options, 0);
+       return syscall(SYS_wait4, pid, status, options, 0);
 }