mirror of https://github.com/mkerrisk/man-pages
epoll.7: tfix: fix unfinished string in example code
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
73ac11ee65
commit
df5c8d495b
|
@ -263,7 +263,7 @@ for (;;) {
|
||||||
ev.data.fd = conn_sock;
|
ev.data.fd = conn_sock;
|
||||||
if (epoll_ctl(epollfd, EPOLL_CTL_ADD, conn_sock,
|
if (epoll_ctl(epollfd, EPOLL_CTL_ADD, conn_sock,
|
||||||
&ev) == \-1) {
|
&ev) == \-1) {
|
||||||
perror("epoll_ctl: conn_sock);
|
perror("epoll_ctl: conn_sock");
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue