summaryrefslogtreecommitdiff
path: root/util-linux/fallocate.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/fallocate.c')
-rw-r--r--util-linux/fallocate.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/util-linux/fallocate.c b/util-linux/fallocate.c
index 70e7e17..1a02a32 100644
--- a/util-linux/fallocate.c
+++ b/util-linux/fallocate.c
@@ -82,8 +82,7 @@ int fallocate_main(int argc UNUSED_PARAM, char **argv)
int fd;
/* exactly one non-option arg */
- opt_complementary = "=1";
- opts = getopt32(argv, "l:o:", &str_l, &str_o);
+ opts = getopt32(argv, "^" "l:o:" "\0" "=1", &str_l, &str_o);
if (!(opts & 1))
bb_show_usage();