[git commit master 1/1] mkfs_ext2: fix handling of -I argument
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Fri Jun 18 09:49:44 UTC 2010
commit: http://git.busybox.net/busybox/commit/?id=cd5aa5c5dac87a51331b03ee08582e18f489a328
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master
-I <unsigned int> but was treated as a character
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
util-linux/mkfs_ext2.c | 2 +-
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);
--
1.7.1
More information about the busybox-cvs
mailing list