getopt_ulflags -> getopt32.
[oweals/busybox.git] / util-linux / switch_root.c
index 1a599073eb7483f3c212a7bffb9ef117606c85e5..f2d9b6e69b38b82de6183a03736c3caaa890afbc 100644 (file)
@@ -71,8 +71,8 @@ int switch_root_main(int argc, char *argv[])
 
        // Parse args (-c console)
 
-       bb_opt_complementally="-2";
-       bb_getopt_ulflags(argc,argv,"c:",&console);
+       opt_complementary="-2";
+       getopt32(argc,argv,"c:",&console);
 
        // Change to new root directory and verify it's a different fs.