aboutsummaryrefslogtreecommitdiff
path: root/ubi-utils/new-utils/src/ubimkvol.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-09-03 19:18:29 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-09-03 19:37:41 +0300
commiteda3e06d868640a7e655a683489da79a5ea4a251 (patch)
tree11e71f904c9113dac4582399a1c8cc84481bc231 /ubi-utils/new-utils/src/ubimkvol.c
parentc0d59ef392816ff9c0bd861d1cdb863a09fd6b1c (diff)
ubirmvol: learn to remove volume by name
Add -N option to ubirmvol to support deleting volumes by name. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'ubi-utils/new-utils/src/ubimkvol.c')
-rw-r--r--ubi-utils/new-utils/src/ubimkvol.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ubi-utils/new-utils/src/ubimkvol.c b/ubi-utils/new-utils/src/ubimkvol.c
index ad072c4..26ddda2 100644
--- a/ubi-utils/new-utils/src/ubimkvol.c
+++ b/ubi-utils/new-utils/src/ubimkvol.c
@@ -43,7 +43,6 @@ struct args {
int lebs;
int alignment;
const char *name;
- int nlen;
const char *node;
int maxavs;
/* For deprecated -d option handling */
@@ -182,7 +181,6 @@ static int parse_opt(int argc, char * const argv[])
case 'N':
args.name = optarg;
- args.nlen = strlen(args.name);
break;
case 'h':