From: Richard Genoud Date: Wed, 25 Jun 2014 15:38:30 +0000 (+0200) Subject: nanddump: change default to --bb=skipbad X-Git-Tag: 1_23_0~94 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2a870d091e86687c8b7b9e14b9c75815d40d7053;p=oweals%2Fbusybox.git nanddump: change default to --bb=skipbad since mtd-utils 1.4.7, the default behaviour of nanddump is skipbad (commit 2521d4f1b6b9866a9c89f3c11a4f6a3d763ff1d7) Signed-off-by: Richard Genoud Signed-off-by: Denys Vlasenko --- diff --git a/miscutils/nandwrite.c b/miscutils/nandwrite.c index 509c06412..29ff351a3 100644 --- a/miscutils/nandwrite.c +++ b/miscutils/nandwrite.c @@ -107,7 +107,7 @@ int nandwrite_main(int argc UNUSED_PARAM, char **argv) /* Buffer for OOB data */ unsigned char *oobbuf; unsigned opts; - unsigned bb_method = BB_PADBAD; + unsigned bb_method = BB_SKIPBAD; int fd; ssize_t cnt; unsigned mtdoffset, meminfo_writesize, blockstart, limit;