X-Git-Url: http://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fevent.c;h=f8255e1231eb33850eb82e15a2a60fa6c7fcd345;hp=24dd292a4e3fdd5f86e48cf0ae11762938766694;hb=6179b377e769efa1541f98db56573519b787e858;hpb=3fa5d621da48eaeedaa1bc49fcf093d1c9b0d196 diff --git a/src/bin/lttng-sessiond/event.c b/src/bin/lttng-sessiond/event.c index 24dd292a4..f8255e123 100644 --- a/src/bin/lttng-sessiond/event.c +++ b/src/bin/lttng-sessiond/event.c @@ -414,7 +414,7 @@ int event_ust_enable_tracepoint(struct ltt_ust_session *usess, int domain, if (uevent == NULL) { uevent = trace_ust_create_event(event); if (uevent == NULL) { - ret = LTTCOMM_FATAL; + ret = LTTCOMM_UST_ENABLE_FAIL; goto error; } /* Valid to set it after the goto error since uevent is still NULL */