global cleanup to use the new syscall interface
[musl] / src / process / waitid.c
index 0ec0d55..b1e5e9b 100644 (file)
@@ -3,5 +3,5 @@
 
 int waitid(idtype_t type, id_t id, siginfo_t *info, int options)
 {
-       return syscall5(__NR_waitid, type, id, (long)info, options, 0);
+       return syscall(SYS_waitid, type, id, info, options, 0);
 }