From: David Goulet Date: Wed, 14 Nov 2012 20:10:48 +0000 (-0500) Subject: Fix: Typo from a previous patch in an assert() X-Git-Tag: v2.1.0-rc8~9 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=76f66f6356f4ad6bebc7b69b3856d2529c102106;hp=94e60b1f03ae2c3c9450ffc3eca8e052e2c37fb4 Fix: Typo from a previous patch in an assert() Typo got in with commit: 49c336c1679295a31b92223dca05feccfe3e3464 Fixes #399 Signed-off-by: David Goulet --- 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; }