diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-02-06 16:23:00 +0200 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-02-06 16:23:00 +0200 |
commit | f3d507be006c46870818c549b8f7dc0b4daccf03 (patch) | |
tree | 61a001c7f9aaaa976148d56fa89b65bf6d7b8ce7 /ubi-utils/src | |
parent | 9c71d77506e02a5280b516843521d91196cde451 (diff) |
ubimkvol: slightly amend printing
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'ubi-utils/src')
-rw-r--r-- | ubi-utils/src/ubimkvol.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ubi-utils/src/ubimkvol.c b/ubi-utils/src/ubimkvol.c index c4079e6..2415be8 100644 --- a/ubi-utils/src/ubimkvol.c +++ b/ubi-utils/src/ubimkvol.c @@ -174,7 +174,7 @@ static int parse_opt(int argc, char * const argv[]) case 'S': args.lebs = strtoull(optarg, &endp, 0); if (endp == optarg || args.lebs <= 0 || *endp != '\0') { - errmsg("bad volume size: \"%s\"", optarg); + errmsg("bad LEB count: \"%s\"", optarg); return -1; } break; @@ -315,7 +315,7 @@ int main(int argc, char * const argv[]) ubiutils_print_bytes(vol_info.rsvd_bytes, 0); printf("), LEB size "); ubiutils_print_bytes(vol_info.leb_size, 1); - printf(", %s volume, name \"%s\", alignment %d\n", + printf(", %s, name \"%s\", alignment %d\n", req.vol_type == UBI_DYNAMIC_VOLUME ? "dynamic" : "static", vol_info.name, vol_info.alignment); |