From 76f66f6356f4ad6bebc7b69b3856d2529c102106 Mon Sep 17 00:00:00 2001 From: David Goulet Date: Wed, 14 Nov 2012 15:10:48 -0500 Subject: [PATCH] Fix: Typo from a previous patch in an assert() Typo got in with commit: 49c336c1679295a31b92223dca05feccfe3e3464 Fixes #399 Signed-off-by: David Goulet --- src/bin/lttng-sessiond/ust-app.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/lttng-sessiond/ust-app.c b/src/bin/lttng-sessiond/ust-app.c index 2ebf79d28..2c42eb536 100644 --- a/src/bin/lttng-sessiond/ust-app.c +++ b/src/bin/lttng-sessiond/ust-app.c @@ -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; } -- 2.34.1