wget: don't be careless with xstrdup'ing
[oweals/busybox.git] / networking / ether-wake.c
index f4ca889fafc55a6a32505a099f0be39a51618c35..294a9dd3c3756ecb4e2791cddd9e893d10a3e60d 100644 (file)
@@ -120,7 +120,7 @@ int ether_wake_main(int argc, char *argv[])
        struct whereto_t whereto;       /* who to wake up */
 
        /* handle misc user options */
-       flags = bb_getopt_ulflags(argc, argv, "bi:p:", &ifname, &pass);
+       flags = getopt32(argc, argv, "bi:p:", &ifname, &pass);
        if (optind == argc)
                bb_show_usage();
        if (pass)