aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-10-03 08:44:13 -0400
committerTom Rini <trini@konsulko.com>2017-10-03 08:44:13 -0400
commit6b7fd350e85a97892a2cb066364797f3f3dcb9c9 (patch)
treee9279f003773a580599bd5efad6feee13acfc3f8 /fs
parentf7ae1ca3e894d67ef1e8b6256a26c08e30e25127 (diff)
downloadu-boot-midas-6b7fd350e85a97892a2cb066364797f3f3dcb9c9.tar.gz
u-boot-midas-6b7fd350e85a97892a2cb066364797f3f3dcb9c9.tar.bz2
u-boot-midas-6b7fd350e85a97892a2cb066364797f3f3dcb9c9.zip
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>
Diffstat (limited to 'fs')
-rw-r--r--fs/btrfs/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index 706286ee2d..2529c2b3b6 100644
--- a/fs/btrfs/super.c
+++ b/fs/btrfs/super.c
@@ -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;