From cd5aa5c5dac87a51331b03ee08582e18f489a328 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Fri, 18 Jun 2010 11:47:45 +0200 Subject: mkfs_ext2: fix handling of -I argument -I but was treated as a character Signed-off-by: Bernhard Reutner-Fischer --- util-linux/mkfs_ext2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util-linux/mkfs_ext2.c') diff --git a/util-linux/mkfs_ext2.c b/util-linux/mkfs_ext2.c index fd54734fc..388bd7b88 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); -- cgit v1.2.3