Fix indentation
[lttng-tools.git] / lttng-sessiond / main.c
index 5755363c878d6e9c6663763b123c8839a9dc82ac..d1d184d89eae8915d8d8808a638ca245e0b98765 100644 (file)
@@ -2047,7 +2047,7 @@ static int cmd_enable_channel(struct ltt_session *session,
        int ret;
        struct ltt_ust_session *usess = session->ust_session;
 
-       DBG("Enabling channel %s for session %s", session->name, attr->name);
+       DBG("Enabling channel %s for session %s", attr->name, session->name);
 
        switch (domain->type) {
        case LTTNG_DOMAIN_KERNEL:
@@ -2096,7 +2096,7 @@ static int cmd_enable_channel(struct ltt_session *session,
 
                /* Add channel to all registered applications */
                ret = ust_app_add_channel_all(usess, uchan);
-               if (ret != LTTCOMM_OK) {
+               if (ret != 0) {
                        goto error;
                }
 
This page took 0.023809 seconds and 4 git commands to generate.