getopt_ulflags -> getopt32.
[oweals/busybox.git] / miscutils / adjtimex.c
index 9662bbea9f34bfb43cd6518cf3f3a69b6dabbe19..47af1a5d2e0ae2abcb607d62a008d6d9d3568848 100644 (file)
@@ -47,14 +47,14 @@ int adjtimex_main(int argc, char **argv)
        enum {
                OPT_quiet = 0x1
        };
-       unsigned long opt;
+       unsigned opt;
        char *opt_o, *opt_f, *opt_p, *opt_t;
        struct timex txc;
        int i, ret, sep;
        const char *descript;
        txc.modes=0;
 
-       opt = bb_getopt_ulflags(argc, argv, "qo:f:p:t:",
+       opt = getopt32(argc, argv, "qo:f:p:t:",
                        &opt_o, &opt_f, &opt_p, &opt_t);
        //if (opt & 0x1) // -q
        if (opt & 0x2) { // -o