[lvm-devel] master - dmstats: rename 'type' field to 'obj_type'

Bryn Reeves bmr at fedoraproject.org
Tue Jul 5 18:35:30 UTC 2016


Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=c2e043f0c188953e0d6fac91c0d08a4dfbc7fd23
Commit:        c2e043f0c188953e0d6fac91c0d08a4dfbc7fd23
Parent:        59a3705577c0533c12834ba97c8a83ea8bf8c997
Author:        Bryn M. Reeves <bmr at redhat.com>
AuthorDate:    Tue Jul 5 12:27:46 2016 +0100
Committer:     Bryn M. Reeves <bmr at redhat.com>
CommitterDate: Tue Jul 5 19:29:51 2016 +0100

dmstats: rename 'type' field to 'obj_type'

Rename the field and remove whitespace from the column heading:

  "Object Type" -> "ObjType"
---
 tools/dmsetup.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/dmsetup.c b/tools/dmsetup.c
index be6a276..c543972 100644
--- a/tools/dmsetup.c
+++ b/tools/dmsetup.c
@@ -4284,7 +4284,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, "Object Type", 11, dm_stats_object_type, "type", "Type of stats object being reported.")
+FIELD_F(STATS_META, STR, "ObjType", 11, dm_stats_object_type, "obj_type", "Type of stats object being reported.")
 {0, 0, 0, 0, "", "", NULL, NULL},
 /* *INDENT-ON* */
 };




More information about the lvm-devel mailing list