diff options
Diffstat (limited to 'ubi-utils/sort-me-out/ubigen.c')
-rw-r--r-- | ubi-utils/sort-me-out/ubigen.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ubi-utils/sort-me-out/ubigen.c b/ubi-utils/sort-me-out/ubigen.c index 3b1fc0e..35fad27 100644 --- a/ubi-utils/sort-me-out/ubigen.c +++ b/ubi-utils/sort-me-out/ubigen.c @@ -166,6 +166,7 @@ static int parse_opt(int argc, char * const argv[]) } args.peb_size *= mult; } + break; case 'm': args.min_io_size = strtoull(optarg, &endp, 0); @@ -183,6 +184,7 @@ static int parse_opt(int argc, char * const argv[]) } args.min_io_size *= mult; } + break; case 'e': args.ec = strtoul(optarg, &endp, 0); @@ -220,7 +222,7 @@ static int parse_opt(int argc, char * const argv[]) break; case 'O': - args.vid_hdr_offs = strtoul(optarg, &endp, 0); + args.vid_hdr_offs = strtoul(optarg, &endp, 0); if (endp == optarg || args.vid_hdr_offs < 0) { errmsg("bad VID header offset: \"%s\"", optarg); return -1; |