diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2007-12-26 15:12:26 +0200 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2007-12-26 16:23:04 +0200 |
commit | 9ba41c4dc891e38c92126bfcc4c366d765841da0 (patch) | |
tree | 5d095e949421d86dc2e2df83245405bbf7c84945 /ubi-utils/src/ubimkvol.c | |
parent | 126341588c5e9d9077e31c4a5f550c83b2e3e93d (diff) |
ubi-utils: add ubiattach and ubidetach
Add 2 new utilities to attach and detach UBI devices.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'ubi-utils/src/ubimkvol.c')
-rw-r--r-- | ubi-utils/src/ubimkvol.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ubi-utils/src/ubimkvol.c b/ubi-utils/src/ubimkvol.c index 38c737d..42b61b8 100644 --- a/ubi-utils/src/ubimkvol.c +++ b/ubi-utils/src/ubimkvol.c @@ -36,7 +36,7 @@ #define PROGRAM_VERSION "1.6" #define PROGRAM_NAME "ubimkvol" -/* The variables below is set by command line arguments */ +/* The variables below are set by command line arguments */ struct args { int vol_id; int vol_type; @@ -61,8 +61,8 @@ static struct args myargs = { .maxavs = 0, }; -static const char *doc = "Version " PROGRAM_VERSION "\n" - PROGRAM_NAME " - a tool to create UBI volumes."; +static const char *doc = PROGRAM_NAME " version " PROGRAM_VERSION + " - a tool to create UBI volumes."; static const char *optionsstr = "-a, --alignment=<alignment> volume alignment (default is 1)\n" @@ -228,7 +228,7 @@ static int parse_opt(int argc, char * const argv[]) errmsg("UBI device name was not specified (use -h for help)"); return -1; } else if (optind != argc - 1) { - errmsg("more then one UBI devices specified (use -h for help)"); + errmsg("more then one UBI device specified (use -h for help)"); return -1; } |