mirror of
https://github.com/sheumann/hush.git
synced 2024-12-27 16:31:24 +00:00
flash_eraseall.c: fix vda's breakage
This commit is contained in:
parent
30e3df3817
commit
e261bba6a5
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user