btrfs-progs: fix printf format of sizeof on 32bit build

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2016-10-06 18:04:51 +02:00
parent ba253d4ea5
commit 805ac27248
1 changed files with 1 additions and 1 deletions

View File

@ -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));