projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: close wait_fd on kernel tracing
[lttng-tools.git]
/
src
/
common
/
compat
/
poll.h
diff --git
a/src/common/compat/poll.h
b/src/common/compat/poll.h
index 8403880cf3742c61f4c01e281a69f2f5ff9084db..b019b42c09ff12f81dfc92a12c6872e318f678ea 100644
(file)
--- a/
src/common/compat/poll.h
+++ b/
src/common/compat/poll.h
@@
-164,7
+164,7
@@
static inline void lttng_poll_reset(struct lttng_poll_event *events)
*/
static inline void lttng_poll_init(struct lttng_poll_event *events)
{
-
lttng_poll_reset(events
);
+
memset(events, 0, sizeof(struct lttng_poll_event)
);
/* Set fd to -1 so if clean before created, we don't close 0. */
events->epfd = -1;
}
This page took
0.024824 seconds
and
4
git commands to generate.