X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fcontext.c;h=402da2fd19f48c31ba5fcb6ec8e08f1c615a63d9;hb=88f2b785b937a5c2af4e21e925b6242ea6c8362b;hp=7eaeb6665b177aa1771942fa444d3e1174a74436;hpb=727d5404ea9a553a2ba569b00c4cd2fa69139bce;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/context.c b/src/bin/lttng-sessiond/context.c index 7eaeb6665..402da2fd1 100644 --- a/src/bin/lttng-sessiond/context.c +++ b/src/bin/lttng-sessiond/context.c @@ -411,7 +411,7 @@ int context_ust_add(struct ltt_ust_session *usess, int domain, cds_lfht_for_each_entry(chan_ht->ht, &iter.iter, uchan, node.node) { ret = add_uctx_to_channel(usess, domain, uchan, ctx); if (ret < 0) { - ERR("Context added to channel %s failed", uchan->name); + ERR("Context failed for channel %s", uchan->name); continue; } } @@ -426,7 +426,7 @@ end: ret = LTTCOMM_FATAL; break; case -EINVAL: - ret = LTTCOMM_UST_CONTEXT_FAIL; + ret = LTTCOMM_UST_CONTEXT_INVAL; break; case -ENOSYS: ret = LTTCOMM_UNKNOWN_DOMAIN;