diff options
Diffstat (limited to 'util-linux/fsfreeze.c')
-rw-r--r-- | util-linux/fsfreeze.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/util-linux/fsfreeze.c b/util-linux/fsfreeze.c index af715da..2e22573 100644 --- a/util-linux/fsfreeze.c +++ b/util-linux/fsfreeze.c @@ -39,8 +39,9 @@ int fsfreeze_main(int argc UNUSED_PARAM, char **argv) /* exactly one non-option arg: the mountpoint */ /* one of opts is required */ /* opts are mutually exclusive */ - opt_complementary = "=1:""\xff:\xfe:""\xff--\xfe:\xfe--\xff"; - opts = getopt32long(argv, "", + opts = getopt32long(argv, "^" + "" /* no opts */ + "\0" "=1:""\xff:\xfe:""\xff--\xfe:\xfe--\xff", "freeze\0" No_argument "\xff" "unfreeze\0" No_argument "\xfe" ); |