]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
HS 2.0R2: Remove unused argument identifier from hs20-osu-client
authorBen Greear <greearb@candelatech.com>
Thu, 26 Mar 2015 21:39:49 +0000 (17:39 -0400)
committerJouni Malinen <j@w1.fi>
Sat, 28 Mar 2015 09:13:47 +0000 (11:13 +0200)
The command line option 'i' is not handled, so I assume it should
not be in the short-options list.

Fix missing word in error message as well.

Signed-off-by: Ben Greear <greearb@candelatech.com>
hs20/client/osu_client.c

index de7f351da244528b3bff647b14c889cc6aadc3c6..66fef630a041cc59f4e90c544eb9117342fae528 100644 (file)
@@ -2139,7 +2139,7 @@ static int cmd_osu_select(struct hs20_osu_client *ctx, const char *dir,
        snprintf(fname, sizeof(fname), "%s/osu-providers.txt", dir);
        osu = parse_osu_providers(fname, &osu_count);
        if (osu == NULL) {
-               wpa_printf(MSG_INFO, "Could not any OSU providers from %s",
+               wpa_printf(MSG_INFO, "Could not find any OSU providers from %s",
                           fname);
                write_result(ctx, "No OSU providers available");
                return -1;
@@ -2996,7 +2996,7 @@ int main(int argc, char *argv[])
                return -1;
 
        for (;;) {
-               c = getopt(argc, argv, "df:hi:KNO:qr:s:S:tw:");
+               c = getopt(argc, argv, "df:hKNO:qr:s:S:tw:");
                if (c < 0)
                        break;
                switch (c) {