Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2009-02-24 19:47:03 +0300
committerDenis Vlasenko <vda.linux@googlemail.com>2009-02-24 19:47:03 +0300
commite261bba6a5874bdaff92eef3df759e5ec026f7e0 (patch)
treeb518017e07c7be8add474c997b60b5e1e3d0b9aa /miscutils/flash_eraseall.c
parent30e3df38174a98d424b90c7d594fac455e99651d (diff)
flash_eraseall.c: fix vda's breakage
Diffstat (limited to 'miscutils/flash_eraseall.c')
-rw-r--r--miscutils/flash_eraseall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/flash_eraseall.c b/miscutils/flash_eraseall.c
index 0411c5a88..3e0c06ffd 100644
--- 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 {