tls: in AES-GCM decoding, avoid memmove
[oweals/busybox.git] / util-linux / fsfreeze.c
index af715da5e74add3d4e5310b57355e6ca225f61d8..c485810aa02686b306a80c8e18a7057e5ba1810a 100644 (file)
@@ -4,7 +4,6 @@
  *
  * Licensed under GPLv2, see file LICENSE in this source tree.
  */
-
 //config:config FSFREEZE
 //config:      bool "fsfreeze (3.6 kb)"
 //config:      default y
@@ -39,8 +38,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"
        );