diff options
Diffstat (limited to 'miscutils/flash_eraseall.c')
-rw-r--r-- | miscutils/flash_eraseall.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/miscutils/flash_eraseall.c b/miscutils/flash_eraseall.c index a3dabdadb..c76d9a699 100644 --- a/miscutils/flash_eraseall.c +++ b/miscutils/flash_eraseall.c | |||
@@ -120,7 +120,7 @@ int flash_eraseall_main(int argc UNUSED_PARAM, char **argv) | |||
120 | if (clmlen > 8) | 120 | if (clmlen > 8) |
121 | clmlen = 8; | 121 | clmlen = 8; |
122 | if (clmlen == 0) | 122 | if (clmlen == 0) |
123 | bb_error_msg_and_die("autoplacement selected and no empty space in oob"); | 123 | bb_simple_error_msg_and_die("autoplacement selected and no empty space in oob"); |
124 | } else { | 124 | } else { |
125 | /* Legacy mode */ | 125 | /* Legacy mode */ |
126 | switch (meminfo.oobsize) { | 126 | switch (meminfo.oobsize) { |
@@ -168,9 +168,9 @@ int flash_eraseall_main(int argc UNUSED_PARAM, char **argv) | |||
168 | if (errno == EOPNOTSUPP) { | 168 | if (errno == EOPNOTSUPP) { |
169 | flags |= OPTION_N; | 169 | flags |= OPTION_N; |
170 | if (flags & IS_NAND) | 170 | if (flags & IS_NAND) |
171 | bb_error_msg_and_die("bad block check not available"); | 171 | bb_simple_error_msg_and_die("bad block check not available"); |
172 | } else { | 172 | } else { |
173 | bb_perror_msg_and_die("MEMGETBADBLOCK error"); | 173 | bb_simple_perror_msg_and_die("MEMGETBADBLOCK error"); |
174 | } | 174 | } |
175 | } | 175 | } |
176 | } | 176 | } |