Build fix: undeclared variable in poll compat
[lttng-tools.git] / src / common / compat / compat-poll.c
index 0220b27854ab776294404c6c80e9a5608bfdeb54..254ce271e71c2f1b9249942e229b5a4b5b7fc82f 100644 (file)
@@ -350,7 +350,7 @@ int compat_poll_wait(struct lttng_poll_event *events, int timeout)
                struct pollfd *idle_pfd = &events->wait.events[idle_pfd_index];
                struct pollfd *current_pfd = &events->wait.events[i];
 
-               if (ipfd->revents != 0) {
+               if (idle_pfd->revents != 0) {
                        swap_pfd = *current_pfd;
                        *current_pfd = *idle_pfd;
                        *idle_pfd = swap_pfd;
This page took 0.023206 seconds and 4 git commands to generate.