epoll.7: tfix: fix unfinished string in example code

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Lucian Adrian Grijincu 2009-04-24 13:12:53 +12:00 committed by Michael Kerrisk
parent 73ac11ee65
commit df5c8d495b
1 changed files with 1 additions and 1 deletions

View File

@ -263,7 +263,7 @@ for (;;) {
ev.data.fd = conn_sock;
if (epoll_ctl(epollfd, EPOLL_CTL_ADD, conn_sock,
&ev) == \-1) {
perror("epoll_ctl: conn_sock);
perror("epoll_ctl: conn_sock");
exit(EXIT_FAILURE);
}
} else {