Skip to contentSkip to conversation

master - dmstats: fix 'obj_type' field width

PATCH Bryn Reeves 1 participant 1 message Jul 6, 2016

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=21b946dfb75c893827ce5caafd16cb09be4fbeeb
Commit:        21b946dfb75c893827ce5caafd16cb09be4fbeeb
Parent:        95ef0cdb461dfb7b7e6ac8e2484564fe0b5ec0ed
Author:        Bryn M. Reeves <[email protected]>
AuthorDate:    Wed Jul 6 09:37:59 2016 +0100
Committer:     Bryn M. Reeves <[email protected]>
CommitterDate: Wed Jul 6 09:37:59 2016 +0100

dmstats: fix 'obj_type' field width

The header for 'obj_type' was changed from 'Object Type' to 'ObjType': update the minimum field width to match this change.

---
 tools/dmsetup.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
tools/dmsetup.c +1 -1
index ed03c2b..4d9bb07 100644
@@ -4286,7 +4286,7 @@ FIELD_F(STATS_META, STR, "#Bins", 9, dm_stats_hist_bins, "hist_bins", "The numbe
 FIELD_F(STATS_META, STR, "Histogram Bounds", 16, dm_stats_hist_bounds, "hist_bounds", "Latency histogram bin boundaries.")
 FIELD_F(STATS_META, STR, "Histogram Ranges", 16, dm_stats_hist_ranges, "hist_ranges", "Latency histogram bin ranges.")
 FIELD_F(STATS_META, STR, "Name", 16, dm_stats_name, "stats_name", "Stats name of current object.")
-FIELD_F(STATS_META, STR, "ObjType", 11, dm_stats_object_type, "obj_type", "Type of stats object being reported.")
+FIELD_F(STATS_META, STR, "ObjType", 7, dm_stats_object_type, "obj_type", "Type of stats object being reported.")
 {0, 0, 0, 0, "", "", NULL, NULL},
 /* *INDENT-ON* */
 };