Fix: UST returns -LTTNG_UST_ERR_NOENT and not -ENOENT
[lttng-tools.git] / src / bin / lttng-sessiond / ust-app.c
index 8fb0fed034aa58e534a8dad1b9db181114a67c30..12c8f92244693a6e63fbfb9c4633a0daf24223e9 100644 (file)
@@ -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;
                                }
This page took 0.051095 seconds and 4 git commands to generate.