From: Ryo ONODERA Date: Sat, 13 Apr 2019 00:50:56 +0000 (+0900) Subject: bsd: Fix a typo in error message X-Git-Tag: hostap_2_8~95 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8f36c84a27b55c2724df113c22e84f9c92f84635;p=thirdparty%2Fhostap.git bsd: Fix a typo in error message When SIOCG80211 failed, show error message with SIOCG80211 instead of SIOCS80211. Signed-off-by: Ryo ONODERA --- diff --git a/src/drivers/driver_bsd.c b/src/drivers/driver_bsd.c index 8621aa0b0..46754968f 100644 --- a/src/drivers/driver_bsd.c +++ b/src/drivers/driver_bsd.c @@ -143,7 +143,7 @@ bsd_get80211(void *priv, struct ieee80211req *ireq, int op, void *arg, ireq->i_data = arg; if (ioctl(drv->global->sock, SIOCG80211, ireq) < 0) { - wpa_printf(MSG_ERROR, "ioctl[SIOCS80211, op=%u, " + wpa_printf(MSG_ERROR, "ioctl[SIOCG80211, op=%u, " "arg_len=%u]: %s", op, arg_len, strerror(errno)); return -1; }