Fix: UST returns -LTTNG_UST_ERR_NOENT and not -ENOENT
authorDavid Goulet <dgoulet@efficios.com>
Mon, 21 Jan 2013 17:02:21 +0000 (12:02 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Mon, 21 Jan 2013 17:02:21 +0000 (12:02 -0500)
Signed-off-by: David Goulet <dgoulet@efficios.com>
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.026835 seconds and 4 git commands to generate.