projects
/
buildroot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b79483a
)
Wrong sign dufus.
author
"Steven J. Hill"
<sjhill@realitydiluted.com>
Tue, 6 Feb 2007 18:09:54 +0000
(18:09 -0000)
committer
"Steven J. Hill"
<sjhill@realitydiluted.com>
Tue, 6 Feb 2007 18:09:54 +0000
(18:09 -0000)
package/mtd/mtd.patch
patch
|
blob
|
history
diff --git
a/package/mtd/mtd.patch
b/package/mtd/mtd.patch
index 31fb5e91b25e80a7c82845e7dd082ec13dccbcf3..40d6865cc8ec91ecae1618437e057e4cf6240702 100644
(file)
--- 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) {