projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: increment channel refcount on add_stream
[lttng-tools.git]
/
src
/
common
/
consumer.c
diff --git
a/src/common/consumer.c
b/src/common/consumer.c
index 990db9e2690eff92ec683b8dd1df1aef65542ab0..5ca2e7bad68187f7b61b628a28ae0932658a3ccb 100644
(file)
--- a/
src/common/consumer.c
+++ b/
src/common/consumer.c
@@
-906,7
+906,7
@@
int consumer_add_channel(struct lttng_consumer_channel *channel,
/* Channel already exist. Ignore the insertion */
ERR("Consumer add channel key %" PRIu64 " already exists!",
channel->key);
- ret =
-1
;
+ ret =
LTTNG_ERR_KERN_CHAN_EXIST
;
goto end;
}
This page took
0.028336 seconds
and
5
git commands to generate.