mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-25 07:32:22 +00:00
btrfs-progs: fix printf format of sizeof on 32bit build
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
ba253d4ea5
commit
805ac27248
@ -1561,7 +1561,7 @@ static int check_super(struct btrfs_super_block *sb, unsigned sbflags)
|
||||
}
|
||||
if (btrfs_super_sys_array_size(sb) < sizeof(struct btrfs_disk_key)
|
||||
+ sizeof(struct btrfs_chunk)) {
|
||||
error("system chunk array too small %u < %lu",
|
||||
error("system chunk array too small %u < %zu",
|
||||
btrfs_super_sys_array_size(sb),
|
||||
sizeof(struct btrfs_disk_key) +
|
||||
sizeof(struct btrfs_chunk));
|
||||
|
Loading…
Reference in New Issue
Block a user