X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=include%2Fust%2Fwait.h;h=6cc0e3732cec710133000d9d9dfd15b6556d1938;hb=d4419b81b243bc3a6bdd4a09b3ca2216d044a1c7;hp=21ced509915932086570d3329073b6d7d764c0fc;hpb=9dcb02efd18948134deb8469a39478f250033269;p=lttng-ust.git diff --git a/include/ust/wait.h b/include/ust/wait.h index 21ced509..6cc0e373 100644 --- a/include/ust/wait.h +++ b/include/ust/wait.h @@ -30,7 +30,7 @@ int __timeout = _timeout; \ \ for (;;) { \ - if (!(_cond)) \ + if (_cond) \ break; \ if (__timeout <= 0) { \ __ret = -ETIMEDOUT; \