fmemopen: fix eof handling, hopefully right this time
[oweals/musl.git] / src / linux / epoll_wait.c
index 8a68ebdd0a75caea92fa5140434a32ad9fcaa5a9..9d3924e044e4f0a8a655a2f2c7a278c226ca2891 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);
 }