Add lttng-error.h containing every API err. code
[lttng-tools.git] / src / bin / lttng / commands / create.c
index 95a0a6ab37d541944bb3d29ad5ad4d945a2ab241..96bb184a7bd63a7c654604326ef50e13a23e3f3b 100644 (file)
@@ -338,7 +338,7 @@ static int create_session(void)
        if (ret < 0) {
                /* Don't set ret so lttng can interpret the sessiond error. */
                switch (-ret) {
-               case LTTCOMM_EXIST_SESS:
+               case LTTNG_ERR_EXIST_SESS:
                        WARN("Session %s already exists", session_name);
                        break;
                }
This page took 0.030099 seconds and 4 git commands to generate.