aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2016-01-19 15:33:17 (GMT)
committerJouni Malinen <j@w1.fi>2016-02-05 10:29:33 (GMT)
commit5f17b2c60edf7963abf2cef72f3b0346e847bcb4 (patch)
tree79e0690e023f18c0cf6a877e01ef5c212373ebaf
parent2088ecb9707f33f31accadead473dc1fb1eaf834 (diff)
downloadhostap-5f17b2c60edf7963abf2cef72f3b0346e847bcb4.zip
hostap-5f17b2c60edf7963abf2cef72f3b0346e847bcb4.tar.gz
hostap-5f17b2c60edf7963abf2cef72f3b0346e847bcb4.tar.bz2
BSD: __FUNCTION__ -> __func__
Signed-off-by: Roy Marples <roy@marples.name>
-rw-r--r--src/drivers/driver_bsd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/driver_bsd.c b/src/drivers/driver_bsd.c
index 780c19b..53d7e58 100644
--- a/src/drivers/driver_bsd.c
+++ b/src/drivers/driver_bsd.c
@@ -966,7 +966,7 @@ wpa_driver_bsd_set_wpa_internal(void *priv, int wpa, int privacy)
int ret = 0;
wpa_printf(MSG_DEBUG, "%s: wpa=%d privacy=%d",
- __FUNCTION__, wpa, privacy);
+ __func__, wpa, privacy);
if (!wpa && wpa_driver_bsd_set_wpa_ie(priv, NULL, 0) < 0)
ret = -1;
@@ -981,7 +981,7 @@ wpa_driver_bsd_set_wpa_internal(void *priv, int wpa, int privacy)
static int
wpa_driver_bsd_set_wpa(void *priv, int enabled)
{
- wpa_printf(MSG_DEBUG, "%s: enabled=%d", __FUNCTION__, enabled);
+ wpa_printf(MSG_DEBUG, "%s: enabled=%d", __func__, enabled);
return wpa_driver_bsd_set_wpa_internal(priv, enabled ? 3 : 0, enabled);
}