summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2007-02-06 18:09:54 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2007-02-06 18:09:54 +0000
commitceaa6db26eaafc27ba6792da34fef89b21558e74 (patch)
tree87c4f98342c8a4353c80749350cb5f927441080e
parentb79483adc130da301f788f8142789fb5a61759df (diff)
Wrong sign dufus.
-rw-r--r--package/mtd/mtd.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/mtd/mtd.patch b/package/mtd/mtd.patch
index 31fb5e91b..40d6865cc 100644
--- a/package/mtd/mtd.patch
+++ b/package/mtd/mtd.patch
@@ -15,7 +15,7 @@ diff -ur mtd-20050122.orig/util/flash_eraseall.c mtd-20050122.orig-patched/util/
printf ("\nSkipping bad block at 0x%08x\n", erase.start);
continue;
- } else if (ret == -EOPNOTSUPP) {
-+ } else if (errno == -EOPNOTSUPP) {
++ } else if (errno == EOPNOTSUPP) {
fprintf(stderr, "%s: %s: Bad block check not available\n", exe_name, mtd_device);
bbtest = 0;
} else if (ret < 0) {