aboutsummaryrefslogtreecommitdiffstats
path: root/hs20
diff options
context:
space:
mode:
authorBen Greear <greearb@candelatech.com>2015-03-26 21:39:49 (GMT)
committerJouni Malinen <j@w1.fi>2015-03-28 09:13:47 (GMT)
commit1b4500670f9fb6491257da627dffe78907b4b24d (patch)
tree6603cc545f249e57df31f1fd858325d1658fe8ce /hs20
parent2e7a228878b325e8a10c5f506fa6f561a5b2a13b (diff)
downloadhostap-1b4500670f9fb6491257da627dffe78907b4b24d.zip
hostap-1b4500670f9fb6491257da627dffe78907b4b24d.tar.gz
hostap-1b4500670f9fb6491257da627dffe78907b4b24d.tar.bz2
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 <greearb@candelatech.com>
Diffstat (limited to 'hs20')
-rw-r--r--hs20/client/osu_client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hs20/client/osu_client.c b/hs20/client/osu_client.c
index de7f351..66fef63 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) {