diff options
author | David Sterba <dsterba@suse.com> | 2016-10-06 18:04:51 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-10-10 09:46:54 +0200 |
commit | 805ac27248a9428d23031931e6dc6098c5a1d678 (patch) | |
tree | 414695e867ad294ac5da2e5cb74e315515f05ff1 /disk-io.c | |
parent | ba253d4ea58a618acc6e2f65446cfd3d20652234 (diff) |
btrfs-progs: fix printf format of sizeof on 32bit build
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'disk-io.c')
-rw-r--r-- | disk-io.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)); |