diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2017-03-30 10:31:36 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2017-03-30 10:31:36 +0100 |
commit | e8d5e05ff57a327053f140f2fed4c12f8fe7e076 (patch) | |
tree | a811cbc8a89fa44412412e14a55a4699f0745f2f /libdm | |
parent | b8b2b1efd84fb1e96500d86f2ada3c2efa1338f3 (diff) | |
download | lvm2-e8d5e05ff57a327053f140f2fed4c12f8fe7e076.tar.gz |
libdm: fix incorrect format specifier in _stats_resize_group()
The bitmap size in dm_bitset_t[0] is a uint32_t, not uint64_t: use
%u instead of FMTu64.
Diffstat (limited to 'libdm')
-rw-r--r-- | libdm/libdm-stats.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libdm/libdm-stats.c b/libdm/libdm-stats.c index b69302f3c..78aa5666a 100644 --- a/libdm/libdm-stats.c +++ b/libdm/libdm-stats.c @@ -4193,9 +4193,9 @@ static int _stats_resize_group(struct dm_stats_group *group, return 0; } - log_very_verbose("Resizing group bitmap from " FMTu64 - " to " FMTu64 " (last_bit: " FMTu64 ").", - group->regions[0], num_regions, last_bit); + log_very_verbose("Resizing group bitmap from %u to " FMTu64 + " (last_bit: " FMTu64 ").", group->regions[0], + num_regions, last_bit); new = dm_bitset_create(NULL, (unsigned) num_regions); if (!new) { |