mtd/util nandwrite.c,1.23,1.24

Artem Bityuckiy dedekind at infradead.org
Thu Mar 17 09:08:37 EST 2005


Update of /home/cvs/mtd/util
In directory phoenix.infradead.org:/tmp/cvs-serv25021

Modified Files:
	nandwrite.c 
Log Message:
Make it compailable.


Index: nandwrite.c
===================================================================
RCS file: /home/cvs/mtd/util/nandwrite.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- nandwrite.c	15 Mar 2005 18:53:18 -0000	1.23
+++ nandwrite.c	17 Mar 2005 14:08:34 -0000	1.24
@@ -381,7 +381,7 @@
 				 * might be that the image contains some nonsense
 				 * at the bad block marker location.
 				 */
-				for (i = 0; i < oob.eccbytes; i++)
+				for (i = 0; i < old_oobinfo.eccbytes; i++)
 					oobbuf[i] = 0xff;
 			}
 			/* Write OOB data first, as ecc will be placed in there*/





More information about the linux-mtd-cvs mailing list