global cleanup to use the new syscall interface
[musl] / src / linux / wait4.c
index 252beb0..b3ae75e 100644 (file)
@@ -6,5 +6,5 @@
 
 pid_t wait4(pid_t pid, int *status, int options, struct rusage *usage)
 {
-       return syscall4(__NR_wait4, pid, (long)status, options, (long)usage);
+       return syscall(SYS_wait4, pid, status, options, usage);
 }