mtd/drivers/mtd/nand nand_bbt.c,1.29,1.30

Artem Bityuckiy dedekind at infradead.org
Fri Feb 11 05:14:15 EST 2005


Update of /home/cvs/mtd/drivers/mtd/nand
In directory phoenix.infradead.org:/tmp/cvs-serv8644

Modified Files:
	nand_bbt.c 
Log Message:
Fix debugging message.


Index: nand_bbt.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/nand/nand_bbt.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- nand_bbt.c	10 Feb 2005 19:10:05 -0000	1.29
+++ nand_bbt.c	11 Feb 2005 10:14:12 -0000	1.30
@@ -1066,7 +1066,7 @@
 	res = (this->bbt[block >> 3] >> (block & 0x06)) & 0x03;
 
 	DEBUG (MTD_DEBUG_LEVEL2, "nand_isbad_bbt(): bbt info for offs 0x%08x: (block %d) 0x%02x\n", 
-		(unsigned int)offs, res, block >> 1);
+		(unsigned int)offs, block >> 1, res);
 
 	switch ((int)res) {
 	case 0x00:	return 0;





More information about the linux-mtd-cvs mailing list