[lvm-devel] master - dmstats: fix region deletion message

Bryn Reeves bmr at fedoraproject.org
Tue Jul 5 18:55:01 UTC 2016


Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=cf6c1665f12b45e72202efaa4ea40ec623c24fc4
Commit:        cf6c1665f12b45e72202efaa4ea40ec623c24fc4
Parent:        e554e375aebcaf56cf436d8c1f4542ace3550a9a
Author:        Bryn M. Reeves <bmr at redhat.com>
AuthorDate:    Fri Jul 1 14:18:38 2016 +0100
Committer:     Bryn M. Reeves <bmr at redhat.com>
CommitterDate: Tue Jul 5 19:53:16 2016 +0100

dmstats: fix region deletion message

Make the use of 64-bit format macros consistent with other usage
and end the message with a '.'.
---
 tools/dmsetup.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/dmsetup.c b/tools/dmsetup.c
index 4a37f2b..d003c3b 100644
--- a/tools/dmsetup.c
+++ b/tools/dmsetup.c
@@ -5034,7 +5034,7 @@ static int _stats_delete(CMD_ARGS)
 		} dm_stats_walk_while(dms);
 	} else {
 		dm_stats_delete_region(dms, region_id);
-		log_info("Deleted statistics region %" PRIu64, region_id);
+		log_info("Deleted statistics region " FMTu64 ".\n", region_id);
 	}
 
 	r = 1;




More information about the lvm-devel mailing list