Messages in this thread Patch in this message | | | Date | Mon, 15 Nov 2004 11:43:02 -0800 | From | "Randy.Dunlap" <> | Subject | [PATCH] jffs2: printk arg. type warning |
| |
fix printk argument type warning: fs/jffs2/gc.c:832: warning: signed size_t format, different type arg (arg 3)
diffstat:= fs/jffs2/gc.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)
Signed-off-by: Randy Dunlap <rddunlap@osdl.org> --
diff -Naurp ./fs/jffs2/gc.c~jffs2_gc_printk ./fs/jffs2/gc.c --- ./fs/jffs2/gc.c~jffs2_gc_printk 2004-11-15 10:02:00.966820400 -0800 +++ ./fs/jffs2/gc.c 2004-11-15 11:00:29.375461216 -0800 @@ -828,7 +828,7 @@ static int jffs2_garbage_collect_deletio continue; } if (retlen != rawlen) { - printk(KERN_WARNING "jffs2_g_c_deletion_dirent(): Short read (%zd not %zd) reading header from obsolete node at %08x\n", + printk(KERN_WARNING "jffs2_g_c_deletion_dirent(): Short read (%zd not %ud) reading header from obsolete node at %08x\n", retlen, rawlen, ref_offset(raw)); continue; }
| |