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:
Michael Kerrisk 2015-06-04 12:23:45 +02:00
parent a41c3eccb2
commit be6b243ae2
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}