From: Yannick Lamarre Date: Thu, 25 Apr 2019 22:23:27 +0000 (-0400) Subject: Fix: lttng_poll_mod calls compat_(e)poll_add X-Git-Tag: v2.11.0-rc2~10 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=5f405a7eb51398255f9f871058cfc7024b80c2b0;p=lttng-tools.git Fix: lttng_poll_mod calls compat_(e)poll_add lttng_poll_mod should call compat_(e)poll_mod. Signed-off-by: Yannick Lamarre Signed-off-by: Jérémie Galarneau --- diff --git a/src/common/compat/poll.h b/src/common/compat/poll.h index d4bd87f58..fde54ddb9 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