X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fust-app.c;h=2c42eb5368504e9c827750dae6f9c15140566728;hp=2ebf79d2828c251da2d2e16469a33e3aed01906f;hb=76f66f6356f4ad6bebc7b69b3856d2529c102106;hpb=94e60b1f03ae2c3c9450ffc3eca8e052e2c37fb4;ds=sidebyside diff --git a/src/bin/lttng-sessiond/ust-app.c b/src/bin/lttng-sessiond/ust-app.c index 2ebf79d28..2c42eb536 100644 --- a/src/bin/lttng-sessiond/ust-app.c +++ b/src/bin/lttng-sessiond/ust-app.c @@ -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; }