From: David Goulet Date: Mon, 24 Sep 2012 17:14:01 +0000 (-0400) Subject: Fix: printing [no write] on lttng list -uf X-Git-Tag: v2.1.0-rc4~18 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=45a32634662c4b3f411deaf7380c89bf3b6e4a59 Fix: printing [no write] on lttng list -uf The print message was using the wrong condition to print [no write]. Fixes #345 Signed-off-by: David Goulet --- diff --git a/src/bin/lttng/commands/list.c b/src/bin/lttng/commands/list.c index 0467cc6ba..696e80e7f 100644 --- a/src/bin/lttng/commands/list.c +++ b/src/bin/lttng/commands/list.c @@ -281,7 +281,7 @@ static void print_event_field(struct lttng_event_field *field) return; } MSG("%sfield: %s (%s)%s", indent8, field->field_name, - field_type(field), field->nowrite ? "" : " [no write]"); + field_type(field), field->nowrite ? " [no write]" : ""); } /*