mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
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.
This commit is contained in:
parent
b8b2b1efd8
commit
e8d5e05ff5
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user