Add lttng-error.h containing every API err. code
[lttng-tools.git] / src / bin / lttng / commands / enable_consumer.c
index 692cdda02d63c4455b9b205523ad772123be4856..e59608950bb122386fa3eeaf3e22d5c5ace753da 100644 (file)
@@ -208,7 +208,7 @@ static int enable_consumer(char *session_name)
                if (ret < 0) {
                        ERR("Enabling consumer for session %s: %s", session_name,
                                        lttng_strerror(ret));
-                       if (ret == -LTTCOMM_ENABLE_CONSUMER_FAIL) {
+                       if (ret == -LTTNG_ERR_ENABLE_CONSUMER_FAIL) {
                                ERR("Perhaps the session was previously started?");
                        }
                        goto error;
This page took 0.030667 seconds and 4 git commands to generate.