mtd/util nanddump.c,1.16,1.17

gleixner at infradead.org gleixner at infradead.org
Sat Sep 11 14:50:29 EDT 2004


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

Modified Files:
	nanddump.c 
Log Message:
read the real lenght.\n Where is the next wall to bang my head ?

Index: nanddump.c
===================================================================
RCS file: /home/cvs/mtd/util/nanddump.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- nanddump.c	11 Sep 2004 17:15:05 -0000	1.16
+++ nanddump.c	11 Sep 2004 18:50:27 -0000	1.17
@@ -75,6 +75,8 @@
 		close(fd);
 		exit(1);
 	}
+	/* Read the real oob length */
+	oob.length = meminfo.oobsize;
 
 	/* Open output file for writing. If file name is "-", write to standard output. */
 	if (strcmp(argv[2], "-") == 0) {





More information about the linux-mtd-cvs mailing list