X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fust-app.c;h=12c8f92244693a6e63fbfb9c4633a0daf24223e9;hb=ba1bb3dc644f478e212b513d70dc53ed76a74d34;hp=8fb0fed034aa58e534a8dad1b9db181114a67c30;hpb=44f2c0c05232524dffaead52dc4c8af88ae12e23;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/ust-app.c b/src/bin/lttng-sessiond/ust-app.c index 8fb0fed03..12c8f9224 100644 --- a/src/bin/lttng-sessiond/ust-app.c +++ b/src/bin/lttng-sessiond/ust-app.c @@ -2292,7 +2292,7 @@ int ust_app_start_trace(struct ltt_ust_session *usess, struct ust_app *app) /* Free unused memory and reset FD states. */ free(ustream); lttng_fd_put(LTTNG_FD_APPS, 2); - if (ret == -ENOENT) { + if (ret == -LTTNG_UST_ERR_NOENT) { /* Got all streams. Continue normal execution. */ break; }