Skip to contentSkip to conversation

master - dmstats: fix region deletion message

PATCH Bryn Reeves 1 participant 1 message Jul 5, 2016

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=cf6c1665f12b45e72202efaa4ea40ec623c24fc4
Commit:        cf6c1665f12b45e72202efaa4ea40ec623c24fc4
Parent:        e554e375aebcaf56cf436d8c1f4542ace3550a9a
Author:        Bryn M. Reeves <[email protected]>
AuthorDate:    Fri Jul 1 14:18:38 2016 +0100
Committer:     Bryn M. Reeves <[email protected]>
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(-)
tools/dmsetup.c +1 -1
index 4a37f2b..d003c3b 100644
@@ -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;