aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/hlr_auc_gw.c
diff options
context:
space:
mode:
authorBen Greear <greearb@candelatech.com>2012-04-06 12:10:36 +0300
committerJouni Malinen <j@w1.fi>2012-04-06 12:10:36 +0300
commit9d0537479695fd298dedb44afc7bae49d063e8d2 (patch)
tree8adb359cbcaae3fb281da7ee63e0c6c5a946bf92 /hostapd/hlr_auc_gw.c
parentbae489d292a3df75ad22d5cc8858e269c6bdf759 (diff)
downloadexternal_wpa_supplicant_8_ti-9d0537479695fd298dedb44afc7bae49d063e8d2.zip
external_wpa_supplicant_8_ti-9d0537479695fd298dedb44afc7bae49d063e8d2.tar.gz
external_wpa_supplicant_8_ti-9d0537479695fd298dedb44afc7bae49d063e8d2.tar.bz2
Make bind failure messages unique
This helps someone know which part of the code is complaining. Signed-hostap: Ben Greear <greearb@candelatech.com>
Diffstat (limited to 'hostapd/hlr_auc_gw.c')
-rw-r--r--hostapd/hlr_auc_gw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hostapd/hlr_auc_gw.c b/hostapd/hlr_auc_gw.c
index b59ea1b..3c3a758 100644
--- a/hostapd/hlr_auc_gw.c
+++ b/hostapd/hlr_auc_gw.c
@@ -96,7 +96,7 @@ static int open_socket(const char *path)
addr.sun_family = AF_UNIX;
os_strlcpy(addr.sun_path, path, sizeof(addr.sun_path));
if (bind(s, (struct sockaddr *) &addr, sizeof(addr)) < 0) {
- perror("bind(PF_UNIX)");
+ perror("hlr-auc-gw: bind(PF_UNIX)");
close(s);
return -1;
}