projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: force the poll() return value to be nb_fd
[lttng-tools.git]
/
src
/
common
/
compat
/
compat-epoll.c
diff --git
a/src/common/compat/compat-epoll.c
b/src/common/compat/compat-epoll.c
index 939aaace3c7c30272bc70f894a0a1bde97a09157..e1672c4c3178afbbce32acddebf2b30cea66fe09 100644
(file)
--- a/
src/common/compat/compat-epoll.c
+++ b/
src/common/compat/compat-epoll.c
@@
-188,6
+188,10
@@
int compat_epoll_wait(struct lttng_poll_event *events, int timeout)
goto error;
}
goto error;
}
+ /*
+ * Since the returned events are set sequentially in the "events" structure
+ * we only need to return the epoll_wait value and iterate over it.
+ */
return ret;
error:
return ret;
error:
This page took
0.025783 seconds
and
5
git commands to generate.