]> www.infradead.org Git - mtd-utils.git/commitdiff
ubimkvol: slightly amend printing
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 6 Feb 2008 14:23:00 +0000 (16:23 +0200)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 6 Feb 2008 14:23:00 +0000 (16:23 +0200)
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
ubi-utils/src/ubimkvol.c

index c4079e6d965f616a892e27a46f72991024fb924b..2415be8807fefbdf6c1cd39aca4b5ef2440d8577 100644 (file)
@@ -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);