lttng_poll_mod should call compat_(e)poll_mod.

Signed-off-by: Yannick Lamarre <ylama...@efficios.com>
---
 src/common/compat/poll.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/common/compat/poll.h b/src/common/compat/poll.h
index d4bd87f5..fde54ddb 100644
--- a/src/common/compat/poll.h
+++ b/src/common/compat/poll.h
@@ -177,7 +177,7 @@ extern int compat_epoll_del(struct lttng_poll_event 
*events, int fd);
 extern int compat_epoll_mod(struct lttng_poll_event *events,
                int fd, uint32_t req_events);
 #define lttng_poll_mod(events, fd, req_events) \
-       compat_epoll_add(events, fd, req_events)
+       compat_epoll_mod(events, fd, req_events)
 
 /*
  * Set up the poll set limits variable poll_max_size
@@ -361,7 +361,7 @@ extern int compat_poll_del(struct lttng_poll_event *events, 
int fd);
 extern int compat_poll_mod(struct lttng_poll_event *events,
                int fd, uint32_t req_events);
 #define lttng_poll_mod(events, fd, req_events) \
-       compat_poll_add(events, fd, req_events)
+       compat_poll_mod(events, fd, req_events)
 
 /*
  * Set up the poll set limits variable poll_max_size
-- 
2.11.0

_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Reply via email to