getopt_ulflags -> getopt32.
[oweals/busybox.git] / loginutils / sulogin.c
index 8cfb64e9ac1c93dd9e49fe0b53d8e060dd26f302..6edd2582b3f250acffda5fa92e9d7c91f2967fe1 100644 (file)
@@ -46,7 +46,7 @@ int sulogin_main(int argc, char **argv)
        logmode = LOGMODE_BOTH;
        openlog(bb_applet_name, 0, LOG_AUTH);
 
-       if (bb_getopt_ulflags (argc, argv, "t:", &timeout_arg)) {
+       if (getopt32 (argc, argv, "t:", &timeout_arg)) {
                if (safe_strtoi(timeout_arg, &timeout)) {
                        timeout = 0;
                }