summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2010-06-18 11:47:45 +0200
committerBernhard Reutner-Fischer2010-06-18 11:47:45 +0200
commitcd5aa5c5dac87a51331b03ee08582e18f489a328 (patch)
tree1a738cd08c70ea8bedeff96e5289d7fbea54a0ab
parent9b814ca6335806a6eb47e22805620ec81d5d849d (diff)
downloadbusybox-cd5aa5c5dac87a51331b03ee08582e18f489a328.zip
busybox-cd5aa5c5dac87a51331b03ee08582e18f489a328.tar.gz
mkfs_ext2: fix handling of -I argument
-I <unsigned int> but was treated as a character Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
-rw-r--r--util-linux/mkfs_ext2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/mkfs_ext2.c b/util-linux/mkfs_ext2.c
index fd54734..388bd7b 100644
--- a/util-linux/mkfs_ext2.c
+++ b/util-linux/mkfs_ext2.c
@@ -210,7 +210,7 @@ int mkfs_ext2_main(int argc UNUSED_PARAM, char **argv)
// using global "option_mask32" instead of local "opts":
// we are register starved here
- opt_complementary = "-1:b+:m+:i+";
+ opt_complementary = "-1:b+:i+:I+:m+";
/*opts =*/ getopt32(argv, "cl:b:f:i:I:J:G:N:m:o:g:L:M:O:r:E:T:U:jnqvFS",
NULL, &bs, NULL, &bpi, &user_inodesize, NULL, NULL, NULL,
&reserved_percent, NULL, NULL, &label, NULL, NULL, NULL, NULL, NULL, NULL);