aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--miscutils/nandwrite.c2
1 files changed, 1 insertions, 1 deletions
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)
107 /* Buffer for OOB data */ 107 /* Buffer for OOB data */
108 unsigned char *oobbuf; 108 unsigned char *oobbuf;
109 unsigned opts; 109 unsigned opts;
110 unsigned bb_method = BB_PADBAD; 110 unsigned bb_method = BB_SKIPBAD;
111 int fd; 111 int fd;
112 ssize_t cnt; 112 ssize_t cnt;
113 unsigned mtdoffset, meminfo_writesize, blockstart, limit; 113 unsigned mtdoffset, meminfo_writesize, blockstart, limit;