global cleanup to use the new syscall interface
[musl] / src / linux / epoll_wait.c
index 8a68ebd..9d3924e 100644 (file)
@@ -3,5 +3,5 @@
 
 int epoll_wait(int fd, struct epoll_event *ev, int cnt, int to)
 {
-       return syscall4(__NR_epoll_wait, fd, (long)ev, cnt, to);
+       return syscall(SYS_epoll_wait, fd, ev, cnt, to);
 }