[PATCH] btrfs: fix printk format warning
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
diff --git a/fs/btrfs/file.c b/fs/btrfs/file.c
index 77f1950..c26ca54 100644
--- a/fs/btrfs/file.c
+++ b/fs/btrfs/file.c
@@ -174,7 +174,7 @@
hint_block = 0;
if ((end_of_last_block & 4095) == 0) {
- printk("strange end of last %Lu %lu %Lu\n", start_pos, write_bytes, end_of_last_block);
+ printk("strange end of last %Lu %zu %Lu\n", start_pos, write_bytes, end_of_last_block);
}
set_extent_uptodate(em_tree, start_pos, end_of_last_block, GFP_NOFS);