Fix: printing [no write] on lttng list -uf
[lttng-tools.git] / src / bin / lttng / commands / list.c
index afd7cf0b3172c291046710c621625d465c675c3b..696e80e7f2c9a8bfd3e54de5c4caba0024e68b84 100644 (file)
@@ -280,8 +280,8 @@ static void print_event_field(struct lttng_event_field *field)
        if (!field->field_name[0]) {
                return;
        }
-       MSG("%sfield: %s (%s)", indent8, field->field_name,
-               field_type(field));
+       MSG("%sfield: %s (%s)%s", indent8, field->field_name,
+               field_type(field), field->nowrite ? " [no write]" : "");
 }
 
 /*
This page took 0.034606 seconds and 5 git commands to generate.