tls: in AES-GCM decoding, avoid memmove
[oweals/busybox.git] / util-linux / eject.c
index 8095cbef0b076e62e26bccaa805b9f97db81ee86..6c30facd2624a2def33319b35c2b931db4e6691f 100644 (file)
@@ -124,8 +124,9 @@ int eject_main(int argc UNUSED_PARAM, char **argv)
        unsigned flags;
        const char *device;
 
-       opt_complementary = "?1:t--T:T--t";
-       flags = getopt32(argv, "tT" IF_FEATURE_EJECT_SCSI("s"));
+       flags = getopt32(argv, "^" "tT"IF_FEATURE_EJECT_SCSI("s")
+                       "\0" "?1:t--T:T--t"
+       );
        device = argv[optind] ? argv[optind] : "/dev/cdrom";
 
        /* We used to do "umount <device>" here, but it was buggy