getopt_ulflags -> getopt32.
[oweals/busybox.git] / util-linux / umount.c
index e4308e54718ed085bda3d3f3d5e75fac6d20c59a..9c551f986182d2ef989314c63570e14b27648f4c 100644 (file)
@@ -27,7 +27,7 @@ int umount_main(int argc, char **argv)
        struct mntent me;
        FILE *fp;
        int status = EXIT_SUCCESS;
-       unsigned long opt;
+       unsigned opt;
        struct mtab_list {
                char *dir;
                char *device;
@@ -36,7 +36,7 @@ int umount_main(int argc, char **argv)
 
        /* Parse any options */
 
-       opt = bb_getopt_ulflags(argc, argv, OPTION_STRING);
+       opt = getopt32(argc, argv, OPTION_STRING);
 
        argc -= optind;
        argv += optind;