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>
This commit is contained in:
parent
9b814ca633
commit
cd5aa5c5da
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user