From: Jérémie Galarneau Date: Thu, 19 Nov 2015 17:26:37 +0000 (-0500) Subject: Clarify error message on "add context" failure X-Git-Tag: v2.8.0-rc1~208 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=9589be740bb4dc78669f5b73236082bf4682f511;p=lttng-tools.git Clarify error message on "add context" failure Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng-sessiond/context.c b/src/bin/lttng-sessiond/context.c index 0de1d069a..866a039e7 100644 --- a/src/bin/lttng-sessiond/context.c +++ b/src/bin/lttng-sessiond/context.c @@ -284,7 +284,8 @@ 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 failed for channel %s", uchan->name); + ERR("Failed to add context to channel %s", + uchan->name); continue; } }