From 805ac27248a9428d23031931e6dc6098c5a1d678 Mon Sep 17 00:00:00 2001 From: David Sterba Date: Thu, 6 Oct 2016 18:04:51 +0200 Subject: [PATCH] btrfs-progs: fix printf format of sizeof on 32bit build Signed-off-by: David Sterba --- disk-io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/disk-io.c b/disk-io.c index f989c290..f24567b8 100644 --- 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));