diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-01-18 20:03:16 +0200 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-01-18 20:03:16 +0200 |
commit | 686422a72b06bc45ae2ab3c6c40e77826c8affe9 (patch) | |
tree | ce0c7c37d1e687f72860edce01e1fb1fb1e364ea /ubi-utils/sort-me-out/ubigen.c | |
parent | 23dc7763ce6153ce5a8312318d14387ad1eaeed4 (diff) |
ubi-utils: save libubigen
I'm going to change libubigen so saving the old one in sort-me-out.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
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; |