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=3914229d603e903cb6b33b50aedf2cf8185e74e8
Commit:        3914229d603e903cb6b33b50aedf2cf8185e74e8
Parent:        e25c27e5c2bda1fc8b87e52bb921aed22204d1f2
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:29:50 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;