diff --git a/man2/epoll_wait.2 b/man2/epoll_wait.2 index 08c0fdd47..adf691ed6 100644 --- a/man2/epoll_wait.2 +++ b/man2/epoll_wait.2 @@ -136,9 +136,9 @@ executing the following calls: sigset_t origmask; - sigprocmask(SIG_SETMASK, &sigmask, &origmask); + pthread_sigmask(SIG_SETMASK, &sigmask, &origmask); ready = epoll_wait(epfd, &events, maxevents, timeout); - sigprocmask(SIG_SETMASK, &origmask, NULL); + pthread_sigmask(SIG_SETMASK, &origmask, NULL); .fi .PP The