fs/btrfs: Fix warning in btrfs_check_super()
We specifically say that the last arg is u32, so use %lu. Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
f7ae1ca3e8
commit
6b7fd350e8
@ -147,7 +147,7 @@ static int btrfs_check_super(struct btrfs_super_block *sb)
|
||||
|
||||
if (sb->sys_chunk_array_size < sizeof(struct btrfs_key) +
|
||||
sizeof(struct btrfs_chunk)) {
|
||||
printf("%s: system chunk array too small %u < %u\n", __func__,
|
||||
printf("%s: system chunk array too small %u < %lu\n", __func__,
|
||||
sb->sys_chunk_array_size, (u32) sizeof(struct btrfs_key)
|
||||
+ sizeof(struct btrfs_chunk));
|
||||
ret = -1;
|
||||
|
Loading…
Reference in New Issue
Block a user