hust testsuite: fix a false positive
[oweals/busybox.git] / debianutils / run_parts.c
index a5e53576cb7363cfaab59df78e1eea038984370a..0bb666abc9a234d18a37c71ec27fe3aa7297e352 100644 (file)
@@ -100,7 +100,7 @@ struct globals {
 #define names (G.names)
 #define cur   (G.cur  )
 #define cmd   (G.cmd  )
-#define INIT_G() do { } while (0)
+#define INIT_G() do { setup_common_bufsiz(); } while (0)
 
 enum { NUM_CMD = (COMMON_BUFSIZE - sizeof(G)) / sizeof(cmd[0]) - 1 };
 
@@ -181,8 +181,8 @@ int run_parts_main(int argc UNUSED_PARAM, char **argv)
        applet_long_options = runparts_longopts;
 #endif
        /* We require exactly one argument: the directory name */
-       opt_complementary = "=1:a::";
-       getopt32(argv, "a:u:", &arg_list, &umask_p);
+       opt_complementary = "=1";
+       getopt32(argv, "a:*u:", &arg_list, &umask_p);
 
        umask(xstrtou_range(umask_p, 8, 0, 07777));