mirror of
https://github.com/sheumann/hush.git
synced 2024-08-21 11:28:57 +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
|
* types e.g. NOR
|
||||||
*/
|
*/
|
||||||
if (errno == EOPNOTSUPP) {
|
if (errno == EOPNOTSUPP) {
|
||||||
flags = ~BBTEST;
|
flags &= ~BBTEST;
|
||||||
if (flags & IS_NAND)
|
if (flags & IS_NAND)
|
||||||
bb_error_msg_and_die("bad block check not available");
|
bb_error_msg_and_die("bad block check not available");
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user