diff options
-rw-r--r-- | nandtest.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -112,7 +112,8 @@ int main(int argc, char **argv) if (len < 0) { printf("\n"); perror("write"); - exit(1); + ioctl(fd, MEMSETBADBLOCK, &ofs); + continue; } if (len < meminfo.erasesize) { printf("\n"); |