Fix: Typo from a previous patch in an assert()
authorDavid Goulet <dgoulet@efficios.com>
Wed, 14 Nov 2012 20:10:48 +0000 (15:10 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Wed, 14 Nov 2012 20:10:51 +0000 (15:10 -0500)
Typo got in with commit: 49c336c1679295a31b92223dca05feccfe3e3464

Fixes #399

Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-sessiond/ust-app.c

index 2ebf79d2828c251da2d2e16469a33e3aed01906f..2c42eb5368504e9c827750dae6f9c15140566728 100644 (file)
@@ -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;
        }
 
This page took 0.027488 seconds and 4 git commands to generate.