summaryrefslogtreecommitdiff
path: root/desc.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2004-10-20 02:17:41 +0000
committerRoland McGrath <roland@redhat.com>2004-10-20 02:17:41 +0000
commit6e52d23cc6a6084802422652e28e9bf4434a7406 (patch)
treecf659eb8f277a037df6bc4d5131d7a7bbe921e29 /desc.c
parent63d6e54c8bc29c3d4f7c391165c6199788e9622b (diff)
downloadstrace-6e52d23cc6a6084802422652e28e9bf4434a7406.tar.gz
2004-10-19 Roland McGrath <roland@redhat.com>
* configure.ac: Check for sys/epoll.h. * desc.c: Protect #include <sys/epoll.h> with [HAVE_SYS_EPOLL_H]. (epollctls, epollevents): Protect each entry with #ifdef on its macro.
Diffstat (limited to 'desc.c')
-rw-r--r--desc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/desc.c b/desc.c
index 403c8ece9..eaff3e04b 100644
--- a/desc.c
+++ b/desc.c
@@ -645,7 +645,7 @@ struct tcb *tcp;
else {
#ifdef HAVE_SYS_EPOLL_H
struct epoll_event ev;
- else if (umove(tcp, tcp->u_arg[3], &ev) == 0)
+ if (umove(tcp, tcp->u_arg[3], &ev) == 0)
print_epoll_event(&ev);
else
#endif