[PATCH] btrfs: fix printk format warning
authorChristoph Hellwig <hch@lst.de>
Tue, 11 Sep 2007 00:02:22 +0000 (20:02 -0400)
committerDavid Woodhouse <dwmw2@hera.kernel.org>
Tue, 11 Sep 2007 00:02:22 +0000 (20:02 -0400)
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/file.c

index 77f1950b0aa02c89fc1aec4c786ce7d279dd164c..c26ca54ed4deb7e82e2df66199be07aa8b968b88 100644 (file)
@@ -174,7 +174,7 @@ static int dirty_and_release_pages(struct btrfs_trans_handle *trans,
        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);