Fix: Typo from a previous patch in an assert()
[lttng-tools.git] / src / bin / lttng-sessiond / ust-app.c
index 2ebf79d2828c251da2d2e16469a33e3aed01906f..2c42eb5368504e9c827750dae6f9c15140566728 100644 (file)
@@ -1274,7 +1274,7 @@ int create_ust_app_event(struct ust_app_session *ua_sess,
        ret = create_ust_event(app, ua_sess, ua_chan, ua_event);
        if (ret < 0) {
                /* Not found previously means that it does not exist on the tracer */
-               assert(ret == -LTTNG_UST_ERR_EXIST);
+               assert(ret != -LTTNG_UST_ERR_EXIST);
                goto error;
        }
 
This page took 0.023033 seconds and 4 git commands to generate.