summaryrefslogtreecommitdiff
path: root/man7/epoll.7
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2009-01-23 23:51:53 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2009-01-23 23:51:53 +0100
commita8d9df276b5f424acd6388982abc98a2454eed22 (patch)
treeab79d991fbf29b287aedd02955e9fc8673cf3619 /man7/epoll.7
parentd664f7cecf787c0013cda43928cc73f85b0cba45 (diff)
epoll.7: tfix
Reported-by: Vegard Nossum <vegard.nossum@gmail.com>
Diffstat (limited to 'man7/epoll.7')
-rw-r--r--man7/epoll.72
1 files changed, 1 insertions, 1 deletions
diff --git a/man7/epoll.7 b/man7/epoll.7
index c14f7428..7c67e138 100644
--- a/man7/epoll.7
+++ b/man7/epoll.7
@@ -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");