mirror of https://github.com/mkerrisk/man-pages
epoll.7: tfix
Reported-by: Vegard Nossum <vegard.nossum@gmail.com>
This commit is contained in:
parent
d664f7cecf
commit
a8d9df276b
|
@ -235,7 +235,7 @@ if (epollfd == \-1) {
|
|||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
ev.events = EPOLL_IN;
|
||||
ev.events = EPOLLIN;
|
||||
ev.data.fd = listen_sock;
|
||||
if (epoll_ctl(epollfd, EPOLL_CTL_ADD, listen_sock, &ev) == \-1) {
|
||||
perror("epoll_ctl: listen_sock");
|
||||
|
|
Loading…
Reference in New Issue