mtd/fs/jffs2 debug.c,1.4,1.5

Artem Bityuckiy dedekind at infradead.org
Wed Jul 20 11:35:20 EDT 2005


Update of /home/cvs/mtd/fs/jffs2
In directory phoenix.infradead.org:/tmp/cvs-serv15712

Modified Files:
	debug.c 
Log Message:
[JFFS2] Fix debugging printks



Index: debug.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/debug.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- debug.c	20 Jul 2005 15:32:28 -0000	1.4
+++ debug.c	20 Jul 2005 15:35:17 -0000	1.5
@@ -512,7 +512,7 @@
 	offs = offs & ~(JFFS2_BUFDUMP_BYTES_PER_LINE - 1);
 	
 	if (skip != 0)
-		printk(KERN_DEBUG "%08d: ", offs);
+		printk(KERN_DEBUG "%#08x: ", offs);
 	
 	while (skip--)
 		printk("   ");
@@ -522,7 +522,7 @@
 			if (i != 0)
 				printk("\n");
 			offs += JFFS2_BUFDUMP_BYTES_PER_LINE;
-			printk(KERN_DEBUG "%08d: ", offs);
+			printk(KERN_DEBUG "%#08x: ", offs);
 		}
 
 		printk("%02x ", buf[i]);





More information about the linux-mtd-cvs mailing list