projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lttng: Indicate file path and error reason when open_config fails
[lttng-tools.git]
/
src
/
common
/
conditions
/
buffer-usage.cpp
diff --git
a/src/common/conditions/buffer-usage.cpp
b/src/common/conditions/buffer-usage.cpp
index 4574d6242f1659f9f54387535e75f5c936037357..c78528735063cb261a0f4830fb023131397cd496 100644
(file)
--- a/
src/common/conditions/buffer-usage.cpp
+++ b/
src/common/conditions/buffer-usage.cpp
@@
-160,13
+160,13
@@
static bool lttng_condition_buffer_usage_is_equal(const struct lttng_condition *
/* Condition is not valid if this is not true. */
LTTNG_ASSERT(a->session_name);
LTTNG_ASSERT(b->session_name);
/* Condition is not valid if this is not true. */
LTTNG_ASSERT(a->session_name);
LTTNG_ASSERT(b->session_name);
- if (strcmp(a->session_name, b->session_name)) {
+ if (strcmp(a->session_name, b->session_name)
!= 0
) {
goto end;
}
LTTNG_ASSERT(a->channel_name);
LTTNG_ASSERT(b->channel_name);
goto end;
}
LTTNG_ASSERT(a->channel_name);
LTTNG_ASSERT(b->channel_name);
- if (strcmp(a->channel_name, b->channel_name)) {
+ if (strcmp(a->channel_name, b->channel_name)
!= 0
) {
goto end;
}
goto end;
}
This page took
0.024141 seconds
and
4
git commands to generate.