[Btrfs-devel] [PATCH] btrfs: fix printk format warning

Christoph Hellwig hch at lst.de
Sat Sep 1 12:52:36 PDT 2007


Signed-off-by: Christoph Hellwig <hch at 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);
 



More information about the Btrfs-devel mailing list