From mboxrd@z Thu Jan 1 00:00:00 1970 From: ylamarre@efficios.com (Yannick Lamarre) Date: Thu, 25 Apr 2019 18:23:27 -0400 Subject: [lttng-dev] [PATCH lttng-tools v6 1/8] Fix: lttng_poll_mod calls compat_(e)poll_add In-Reply-To: <20190425222334.30349-1-ylamarre@efficios.com> References: <20190425222334.30349-1-ylamarre@efficios.com> Message-ID: <20190425222334.30349-2-ylamarre@efficios.com> lttng_poll_mod should call compat_(e)poll_mod. Signed-off-by: Yannick Lamarre --- 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