blob: 7736e14aacb745ef1bc18bc779a7c6b869a33c5f [file] [log] [blame] [edit]
diff -aruN a/nandtest.c b/nandtest.c
--- a/nandtest.c 2016-11-16 17:14:33.086196030 -0800
+++ b/nandtest.c 2016-11-16 17:16:03.575351493 -0800
@@ -109,7 +109,7 @@
}
if (newstats.failed > oldstats.failed) {
printf("\nECC failed at %08x\n", (unsigned) ofs);
- oldstats.corrected = newstats.corrected;
+ oldstats.failed = newstats.failed;
}
if (len < meminfo.erasesize)
exit(1);