From: Raphaël Beamonte Date: Tue, 28 Feb 2012 18:29:18 +0000 (-0500) Subject: Fix: Display right loglevel_type in error message X-Git-Tag: v2.0.0-rc2~20 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=4431494bed1d1810b70ce9d0eda74c295f39639d;p=lttng-tools.git Fix: Display right loglevel_type in error message Signed-off-by: Raphaël Beamonte Signed-off-by: David Goulet --- diff --git a/src/bin/lttng-sessiond/trace-ust.c b/src/bin/lttng-sessiond/trace-ust.c index ce6332d93..55e73930a 100644 --- a/src/bin/lttng-sessiond/trace-ust.c +++ b/src/bin/lttng-sessiond/trace-ust.c @@ -236,7 +236,7 @@ struct ltt_ust_event *trace_ust_create_event(struct lttng_event *ev) lue->attr.loglevel = ev->loglevel; break; default: - ERR("Unknown ust loglevel type (%d)", ev->type); + ERR("Unknown ust loglevel type (%d)", ev->loglevel_type); goto error_free_event; }