From: Mathieu Desnoyers Date: Mon, 5 Jan 2015 21:43:07 +0000 (-0500) Subject: Fix: poll: show the correct number of fds X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=7fa2082ed250230b7823e01b144aa6b580d4b2f5;hp=7fa2082ed250230b7823e01b144aa6b580d4b2f5 Fix: poll: show the correct number of fds LTTNG_POLL_GETNB() uses wait nb_fd, which is only updated after lttng_poll_wait returns. Signed-off-by: Mathieu Desnoyers Signed-off-by: Jérémie Galarneau ---