summaryrefslogtreecommitdiff
path: root/desc.c
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2011-10-11 15:55:40 +0000
committerDmitry V. Levin <ldv@altlinux.org>2011-10-11 15:55:40 +0000
commit5967c1a66bab9032e67e3dc9fbd521648cc91c07 (patch)
treee348ad41d3dce5526365faa647ac038e97c40cf5 /desc.c
parentbe55ce794aed3395eeb1ca7cfb9a460a8050b82b (diff)
downloadstrace-5967c1a66bab9032e67e3dc9fbd521648cc91c07.tar.gz
Decode EPOLLRDHUP
* desc.c (epollevents): Add EPOLLRDHUP. Reported-by: Марк Коренберг <socketpair@gmail.com>
Diffstat (limited to 'desc.c')
-rw-r--r--desc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/desc.c b/desc.c
index e11e4f3dc..486acfbc3 100644
--- a/desc.c
+++ b/desc.c
@@ -674,6 +674,9 @@ static const struct xlat epollevents[] = {
#ifdef EPOLLHUP
{ EPOLLHUP, "EPOLLHUP" },
#endif
+#ifdef EPOLLRDHUP
+ { EPOLLRDHUP, "EPOLLRDHUP" },
+#endif
#ifdef EPOLLONESHOT
{ EPOLLONESHOT, "EPOLLONESHOT" },
#endif