Fix useless variable
[lttng-tools.git] / src / bin / lttng-sessiond / context.c
index 7eaeb6665b177aa1771942fa444d3e1174a74436..402da2fd19f48c31ba5fcb6ec8e08f1c615a63d9 100644 (file)
@@ -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;
This page took 0.02387 seconds and 4 git commands to generate.