global cleanup to use the new syscall interface
[musl] / src / linux / epoll_pwait.c
index 5aaacba..39ad5b7 100644 (file)
@@ -3,5 +3,5 @@
 
 int epoll_pwait(int fd, struct epoll_event *ev, int cnt, int to, const sigset_t *sigs)
 {
 
 int epoll_pwait(int fd, struct epoll_event *ev, int cnt, int to, const sigset_t *sigs)
 {
-       return syscall6(__NR_epoll_pwait, fd, (long)ev, cnt, to, (long)sigs, 8);
+       return syscall(SYS_epoll_pwait, fd, ev, cnt, to, sigs, 8);
 }
 }