X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Flinux%2Fepoll.c;h=93baa8147e422e1d319f973159ec19d785205ba5;hb=8d404733e1314ef633aa09a90865e94fe711b4ca;hp=deff5b101aade0dde5efff1cad5272b3e782ef83;hpb=24df8b09cfc85f4283283f7543c1be5d496faf09;p=musl diff --git a/src/linux/epoll.c b/src/linux/epoll.c index deff5b10..93baa814 100644 --- a/src/linux/epoll.c +++ b/src/linux/epoll.c @@ -24,9 +24,9 @@ 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) { - int r = __syscall(SYS_epoll_pwait, fd, ev, cnt, to, sigs, _NSIG/8); + int r = __syscall_cp(SYS_epoll_pwait, fd, ev, cnt, to, sigs, _NSIG/8); #ifdef SYS_epoll_wait - if (r==-ENOSYS && !sigs) r = __syscall(SYS_epoll_wait, fd, ev, cnt, to); + if (r==-ENOSYS && !sigs) r = __syscall_cp(SYS_epoll_wait, fd, ev, cnt, to); #endif return __syscall_ret(r); }