From f3d507be006c46870818c549b8f7dc0b4daccf03 Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Wed, 6 Feb 2008 16:23:00 +0200 Subject: ubimkvol: slightly amend printing Signed-off-by: Artem Bityutskiy --- ubi-utils/src/ubimkvol.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ubi-utils') 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); -- cgit v1.2.3