From 1b4500670f9fb6491257da627dffe78907b4b24d Mon Sep 17 00:00:00 2001 From: Ben Greear Date: Thu, 26 Mar 2015 17:39:49 -0400 Subject: [PATCH] HS 2.0R2: Remove unused argument identifier from hs20-osu-client 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 --- hs20/client/osu_client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hs20/client/osu_client.c b/hs20/client/osu_client.c index de7f351da..66fef630a 100644 --- a/hs20/client/osu_client.c +++ b/hs20/client/osu_client.c @@ -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) {