getopt32: remove opt_complementary
[oweals/busybox.git] / sysklogd / syslogd.c
index 31730a7f94790459c945dc48cf364c1740764dc1..2b85234a7d52780bd78351077a95de2f9317b247 100644 (file)
@@ -1109,8 +1109,7 @@ int syslogd_main(int argc UNUSED_PARAM, char **argv)
        INIT_G();
 
        /* No non-option params */
-       opt_complementary = "=0";
-       opts = getopt32(argv, OPTION_STR, OPTION_PARAM);
+       opts = getopt32(argv, "^"OPTION_STR"\0""=0", OPTION_PARAM);
 #if ENABLE_FEATURE_REMOTE_LOG
        while (remoteAddrList) {
                remoteHost_t *rh = xzalloc(sizeof(*rh));