btrfs-progs: fix printf format of sizeof on 32bit build
authorDavid Sterba <dsterba@suse.com>
Thu, 6 Oct 2016 16:04:51 +0000 (18:04 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 10 Oct 2016 07:46:54 +0000 (09:46 +0200)
Signed-off-by: David Sterba <dsterba@suse.com>
disk-io.c

index f989c29..f24567b 100644 (file)
--- a/disk-io.c
+++ b/disk-io.c
@@ -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));