Signed-off-by: Steven Dake <sdake@xxxxxxxxxx> --- test/testcpg2.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/test/testcpg2.c b/test/testcpg2.c index ff53edd..f017289 100644 --- a/test/testcpg2.c +++ b/test/testcpg2.c @@ -84,7 +84,7 @@ int main(int argc, char** argv) { pfd.fd = fd; pfd.events = POLLIN; - poll (&pfd, 1, 1000); + assert(poll (&pfd, 1, 1000) == 1); cpg_dispatch(handle, CS_DISPATCH_ALL); return (0); } -- 1.7.6.4 _______________________________________________ discuss mailing list discuss@xxxxxxxxxxxx http://lists.corosync.org/mailman/listinfo/discuss