getopt_ulflags -> getopt32.
[oweals/busybox.git] / sysklogd / klogd.c
index 677c9e6075bbe2011d74e31f59f7426ee526ae5b..e629bec5d022ec80abdfe34785b4efe2b2c1fdcf 100644 (file)
@@ -45,10 +45,10 @@ int klogd_main(int argc, char **argv)
 
 
        {
-               unsigned long opt;
+               unsigned opt;
 
                /* do normal option parsing */
-               opt = bb_getopt_ulflags(argc, argv, "c:n", &start);
+               opt = getopt32(argc, argv, "c:n", &start);
 
                if (opt & OPT_LEVEL) {
                        /* Valid levels are between 1 and 8 */