summaryrefslogtreecommitdiff
path: root/ubi-utils/sort-me-out/ubigen.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-01-18 20:03:16 +0200
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-01-18 20:03:16 +0200
commit686422a72b06bc45ae2ab3c6c40e77826c8affe9 (patch)
treece0c7c37d1e687f72860edce01e1fb1fb1e364ea /ubi-utils/sort-me-out/ubigen.c
parent23dc7763ce6153ce5a8312318d14387ad1eaeed4 (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.c4
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;