mtd: add missing breaks in a switch
[15.05/openwrt.git] / package / system / mtd / src / mtd.c
index 6650068..c39b103 100644 (file)
@@ -900,10 +900,12 @@ int main (int argc, char **argv)
                        if (mtd_fixtrx) {
                                mtd_fixtrx(device, offset);
                        }
+                       break;
                case CMD_RESETBC:
                        if (mtd_resetbc) {
                                mtd_resetbc(device);
                        }
+                       break;
                case CMD_FIXSEAMA:
                        if (mtd_fixseama)
                                mtd_fixseama(device, 0);