Btrfs: Use %z to format size_t
authorGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 20 Aug 2013 11:20:18 +0000 (13:20 +0200)
committerChris Mason <chris.mason@fusionio.com>
Sun, 1 Sep 2013 12:16:19 +0000 (08:16 -0400)
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/check-integrity.c

index 45bc95570c7f5897525591c0dac4ab6dd1c306f6..1c47be1872406715183cd1da184f1fd11dabc3be 100644 (file)
@@ -2959,11 +2959,9 @@ int btrfsic_submit_bh(int rw, struct buffer_head *bh)
                    BTRFSIC_PRINT_MASK_SUBMIT_BIO_BH)
                        printk(KERN_INFO
                               "submit_bh(rw=0x%x, blocknr=%llu (bytenr %llu),"
-                              " size=%lu, data=%p, bdev=%p)\n",
+                              " size=%zu, data=%p, bdev=%p)\n",
                               rw, (unsigned long long)bh->b_blocknr,
-                              dev_bytenr,
-                              (unsigned long)bh->b_size, bh->b_data,
-                              bh->b_bdev);
+                              dev_bytenr, bh->b_size, bh->b_data, bh->b_bdev);
                btrfsic_process_written_block(dev_state, dev_bytenr,
                                              &bh->b_data, 1, NULL,
                                              NULL, bh, rw);