Fix: Mismatch of field name between ust and tools
[lttng-tools.git] / src / bin / lttng / commands / list.c
index afd7cf0b3172c291046710c621625d465c675c3b..0467cc6ba32d6afc828bcaeec34e31c0b58ed416 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.023488 seconds and 4 git commands to generate.