summaryrefslogtreecommitdiff
path: root/misc-utils/flash_erase.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc-utils/flash_erase.c')
-rw-r--r--misc-utils/flash_erase.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/misc-utils/flash_erase.c b/misc-utils/flash_erase.c
index 6db9fa3..0c9449f 100644
--- a/misc-utils/flash_erase.c
+++ b/misc-utils/flash_erase.c
@@ -155,8 +155,10 @@ int main(int argc, char *argv[])
default:
case 0:
errmsg("no MTD device specified");
+ /* fall-through */
case 1:
errmsg("no start erase block specified");
+ /* fall-through */
case 2:
errmsg("no erase block count specified");
error = 1;