aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/wpa_ctrl.c
diff options
context:
space:
mode:
authorMasashi Honma <honma@ictec.co.jp>2010-08-28 08:40:07 (GMT)
committerJouni Malinen <j@w1.fi>2010-08-28 08:40:07 (GMT)
commit60da5e0f3f78f35556912270ab08b522006d25f9 (patch)
treeb883e87b1c81d33d2fcb982483b71bf8b720f42f /src/common/wpa_ctrl.c
parent9ff80a10e8009c0dc65a4b7e08dcf1655cd2a483 (diff)
downloadhostap-60da5e0f3f78f35556912270ab08b522006d25f9.zip
hostap-60da5e0f3f78f35556912270ab08b522006d25f9.tar.gz
hostap-60da5e0f3f78f35556912270ab08b522006d25f9.tar.bz2
Solaris: Add support for wired IEEE 802.1X client
This patch adds support for wired IEEE 802.1X client on the Solaris. I have tested with these: OS : OpenSolaris 2009.06 EAP : EAP-MD5 Switch : Cisco Catalyst 2950
Diffstat (limited to 'src/common/wpa_ctrl.c')
-rw-r--r--src/common/wpa_ctrl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/wpa_ctrl.c b/src/common/wpa_ctrl.c
index 2b4e3aa..81fe6ba 100644
--- a/src/common/wpa_ctrl.c
+++ b/src/common/wpa_ctrl.c
@@ -81,7 +81,7 @@ struct wpa_ctrl * wpa_ctrl_open(const char *ctrl_path)
counter++;
try_again:
ret = os_snprintf(ctrl->local.sun_path, sizeof(ctrl->local.sun_path),
- "/tmp/wpa_ctrl_%d-%d", getpid(), counter);
+ "/tmp/wpa_ctrl_%d-%d", (int) getpid(), counter);
if (ret < 0 || (size_t) ret >= sizeof(ctrl->local.sun_path)) {
close(ctrl->s);
os_free(ctrl);