projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30e3df3
)
flash_eraseall.c: fix vda's breakage
author
Denis Vlasenko
<vda.linux@googlemail.com>
Tue, 24 Feb 2009 16:47:03 +0000
(16:47 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Tue, 24 Feb 2009 16:47:03 +0000
(16:47 -0000)
miscutils/flash_eraseall.c
patch
|
blob
|
history
diff --git
a/miscutils/flash_eraseall.c
b/miscutils/flash_eraseall.c
index 0411c5a888308f4c8b20941189fd1cd781de3e0c..3e0c06ffd8b4f1c93a3f05ade42f978d6c2e2f32 100644
(file)
--- a/
miscutils/flash_eraseall.c
+++ b/
miscutils/flash_eraseall.c
@@
-142,7
+142,7
@@
int flash_eraseall_main(int argc UNUSED_PARAM, char **argv)
* types e.g. NOR
*/
if (errno == EOPNOTSUPP) {
- flags = ~BBTEST;
+ flags
&
= ~BBTEST;
if (flags & IS_NAND)
bb_error_msg_and_die("bad block check not available");
} else {