projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add lttng_ust_ prefix before objd_unref
[lttng-ust.git]
/
include
/
ust
/
wait.h
diff --git
a/include/ust/wait.h
b/include/ust/wait.h
index e92d52856c603144e105da87dab6533bf47bee04..6cc0e3732cec710133000d9d9dfd15b6556d1938 100644
(file)
--- a/
include/ust/wait.h
+++ b/
include/ust/wait.h
@@
-30,7
+30,7
@@
int __timeout = _timeout; \
\
for (;;) { \
int __timeout = _timeout; \
\
for (;;) { \
- if (
!(_cond))
\
+ if (
_cond)
\
break; \
if (__timeout <= 0) { \
__ret = -ETIMEDOUT; \
break; \
if (__timeout <= 0) { \
__ret = -ETIMEDOUT; \
@@
-38,7
+38,7
@@
} \
__pollret = poll(NULL, 0, 10); /* wait 10ms */ \
if (__pollret < 0) { \
} \
__pollret = poll(NULL, 0, 10); /* wait 10ms */ \
if (__pollret < 0) { \
- __ret =
__pollret;
\
+ __ret =
-errno;
\
break; \
} \
__timeout -= 10; \
break; \
} \
__timeout -= 10; \
This page took
0.023955 seconds
and
4
git commands to generate.