X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Flinux%2Fepoll.c;h=030786d3ff993d1be6ebce1df77a8aca5a8b571b;hp=35f70ed1519db29f25de7959faa3544a56b0ec0f;hb=ccc7b4c3a17ade90de71e1e0f44deebbffd646e6;hpb=00f1521fdd3f57c7a190550426537089fc24b9da diff --git a/src/linux/epoll.c b/src/linux/epoll.c index 35f70ed1..030786d3 100644 --- a/src/linux/epoll.c +++ b/src/linux/epoll.c @@ -1,4 +1,5 @@ #include +#include #include "syscall.h" int epoll_create(int size) @@ -18,7 +19,7 @@ int epoll_ctl(int fd, int op, int fd2, struct epoll_event *ev) int epoll_pwait(int fd, struct epoll_event *ev, int cnt, int to, const sigset_t *sigs) { - return syscall(SYS_epoll_pwait, fd, ev, cnt, to, sigs, __SYSCALL_SSLEN); + return syscall(SYS_epoll_pwait, fd, ev, cnt, to, sigs, _NSIG/8); } int epoll_wait(int fd, struct epoll_event *ev, int cnt, int to)