From 9ba41c4dc891e38c92126bfcc4c366d765841da0 Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Wed, 26 Dec 2007 15:12:26 +0200 Subject: ubi-utils: add ubiattach and ubidetach Add 2 new utilities to attach and detach UBI devices. Signed-off-by: Artem Bityutskiy --- ubi-utils/src/ubirmvol.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ubi-utils/src/ubirmvol.c') diff --git a/ubi-utils/src/ubirmvol.c b/ubi-utils/src/ubirmvol.c index 5f35525..60bcdc0 100644 --- a/ubi-utils/src/ubirmvol.c +++ b/ubi-utils/src/ubirmvol.c @@ -36,7 +36,7 @@ #define PROGRAM_VERSION "1.5" #define PROGRAM_NAME "ubirmvol" -/* The variables below is set by command line arguments */ +/* The variables below are set by command line arguments */ struct args { int vol_id; const char *node; @@ -47,8 +47,8 @@ static struct args myargs = { .node = NULL, }; -static const char *doc = "Version: " PROGRAM_VERSION "\n" - PROGRAM_NAME " - a tool to remove UBI volumes."; +static const char *doc = PROGRAM_NAME " version " PROGRAM_VERSION + " - a tool to remove UBI volumes."; static const char *optionsstr = " -n, --vol_id= volume ID to remove\n" @@ -121,7 +121,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; } -- cgit v1.2.3