don't pass argc in getopt32, it's superfluous
[platform/upstream/busybox.git] / coreutils / libcoreutils / getopt_mk_fifo_nod.c
index 6fd2de7..3776215 100644 (file)
@@ -31,7 +31,7 @@ mode_t getopt_mk_fifo_nod(int argc, char **argv)
        security_context_t scontext;
 #endif
        int opt;
-       opt = getopt32(argc, argv, "m:" USE_SELINUX("Z:"), &smode USE_SELINUX(,&scontext));
+       opt = getopt32(argv, "m:" USE_SELINUX("Z:"), &smode USE_SELINUX(,&scontext));
        if (opt & 1) {
                if (bb_parse_mode(smode, &mode))
                        umask(0);