mirror of https://github.com/mkerrisk/man-pages
epoll.7: tfix
See http://bugs.debian.org/787625 Reported-by: Uwe Kleine-König <uwe+debian@kleine-koenig.org> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
a41c3eccb2
commit
be6b243ae2
|
@ -281,7 +281,7 @@ if (epoll_ctl(epollfd, EPOLL_CTL_ADD, listen_sock, &ev) == \-1) {
|
|||
for (;;) {
|
||||
nfds = epoll_wait(epollfd, events, MAX_EVENTS, \-1);
|
||||
if (nfds == \-1) {
|
||||
perror("epoll_pwait");
|
||||
perror("epoll_wait");
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue