diff options
author | Fabian Frederick <fabf@skynet.be> | 2015-02-14 13:10:22 +0100 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2015-03-13 13:38:22 -0700 |
commit | d22071293f17eedc96df25093d8e99d09cd76463 (patch) | |
tree | c7085c95e808b8b2d6e0a1ac8e63ebde814f6f12 /fs | |
parent | dd9ef135e3542ffc621c4eb7f0091870ec7a1504 (diff) | |
download | linux-d22071293f17eedc96df25093d8e99d09cd76463.tar.gz linux-d22071293f17eedc96df25093d8e99d09cd76463.tar.bz2 linux-d22071293f17eedc96df25093d8e99d09cd76463.zip |
btrfs: fix sizeof format specifier in btrfs_check_super_valid()
This patch fixes mips compilation warning:
fs/btrfs/disk-io.c: In function 'btrfs_check_super_valid':
fs/btrfs/disk-io.c:3927:21: warning: format '%lu' expects argument
of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat]
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/btrfs/disk-io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index 41b320e235d7..1577b91940dd 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c @@ -3923,7 +3923,7 @@ static int btrfs_check_super_valid(struct btrfs_fs_info *fs_info, } if (btrfs_super_sys_array_size(sb) < sizeof(struct btrfs_disk_key) + sizeof(struct btrfs_chunk)) { - printk(KERN_ERR "BTRFS: system chunk array too small %u < %lu\n", + printk(KERN_ERR "BTRFS: system chunk array too small %u < %zu\n", btrfs_super_sys_array_size(sb), sizeof(struct btrfs_disk_key) + sizeof(struct btrfs_chunk)); |