1 --- a/libc/sysdeps/linux/common/epoll.c
2 +++ b/libc/sysdeps/linux/common/epoll.c
3 @@ -67,12 +67,13 @@ extern __typeof(epoll_pwait) __libc_epol
4 int __libc_epoll_pwait(int epfd, struct epoll_event *events, int maxevents,
5 int timeout, const sigset_t *set)
7 + int nsig = _NSIG / 8;
9 - return INLINE_SYSCALL(epoll_pwait, 6, epfd, events, maxevents, timeout, set, _NSIG / 8);
10 + return INLINE_SYSCALL(epoll_pwait, 6, epfd, events, maxevents, timeout, set, nsig);
11 # ifdef __UCLIBC_HAS_THREADS_NATIVE__
13 int oldtype = LIBC_CANCEL_ASYNC ();
14 - int result = INLINE_SYSCALL(epoll_pwait, 6, epfd, events, maxevents, timeout, set, _NSIG / 8);
15 + int result = INLINE_SYSCALL(epoll_pwait, 6, epfd, events, maxevents, timeout, set, nsig);
16 LIBC_CANCEL_RESET (oldtype);