[lttng-dev] [lttng-tools PATCH] Display right loglevel_type in error message

Raphaël Beamonte raphael.beamonte at gmail.com
Tue Feb 28 13:29:18 EST 2012


Signed-off-by: Raphaël Beamonte <raphael.beamonte at gmail.com>
---
 src/bin/lttng-sessiond/trace-ust.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/bin/lttng-sessiond/trace-ust.c b/src/bin/lttng-sessiond/trace-ust.c
index ce6332d..55e7393 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;
 	}
 
-- 
1.7.9




More information about the lttng-dev mailing list