mtd/util docfdisk.c,1.3,1.4
dbrown at infradead.org
dbrown at infradead.org
Wed Jul 28 09:01:37 EDT 2004
Update of /home/cvs/mtd/util
In directory phoenix.infradead.org:/tmp/cvs-serv29227
Modified Files:
docfdisk.c
Log Message:
Really truly actually keep going on ECC error. This is getting silly.
Index: docfdisk.c
===================================================================
RCS file: /home/cvs/mtd/util/docfdisk.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- docfdisk.c 28 Jul 2004 12:48:00 -0000 1.3
+++ docfdisk.c 28 Jul 2004 13:01:34 -0000 1.4
@@ -219,7 +219,7 @@
for (mhblock = 0; mhblock < MAXSCAN; mhblock++) {
if ((ret = pread(fd, buf, meminfo.erasesize, mhblock * meminfo.erasesize)) < 0) {
- if (ret == -EBADMSG) {
+ if (errno == -EBADMSG) {
printf("ECC error at eraseblock %d\n", mhblock);
continue;
}
More information about the linux-mtd-cvs
mailing list