Christoph Hellwig
2007-Sep-01 12:59 UTC
[Btrfs-devel] [PATCH] btrfs: fix printk format warning
Signed-off-by: Christoph Hellwig <hch@lst.de> Index: btrfs-9cb5f0f5c713/file.c ==================================================================--- btrfs-9cb5f0f5c713.orig/file.c 2007-09-01 01:44:18.000000000 +0200 +++ btrfs-9cb5f0f5c713/file.c 2007-09-01 01:44:39.000000000 +0200 @@ -173,7 +173,7 @@ static int dirty_and_release_pages(struc 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);