aboutsummaryrefslogtreecommitdiffstats
path: root/src/l2_packet
diff options
context:
space:
mode:
authorBen Greear <greearb@candelatech.com>2012-04-06 09:10:36 (GMT)
committerJouni Malinen <j@w1.fi>2012-04-06 09:10:36 (GMT)
commit9d0537479695fd298dedb44afc7bae49d063e8d2 (patch)
tree8adb359cbcaae3fb281da7ee63e0c6c5a946bf92 /src/l2_packet
parentbae489d292a3df75ad22d5cc8858e269c6bdf759 (diff)
downloadhostap-9d0537479695fd298dedb44afc7bae49d063e8d2.zip
hostap-9d0537479695fd298dedb44afc7bae49d063e8d2.tar.gz
hostap-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 'src/l2_packet')
-rw-r--r--src/l2_packet/l2_packet_privsep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/l2_packet/l2_packet_privsep.c b/src/l2_packet/l2_packet_privsep.c
index aacd76b..6b117ca 100644
--- a/src/l2_packet/l2_packet_privsep.c
+++ b/src/l2_packet/l2_packet_privsep.c
@@ -173,7 +173,7 @@ struct l2_packet_data * l2_packet_init(
addr.sun_family = AF_UNIX;
os_strlcpy(addr.sun_path, l2->own_socket_path, sizeof(addr.sun_path));
if (bind(l2->fd, (struct sockaddr *) &addr, sizeof(addr)) < 0) {
- perror("bind(PF_UNIX)");
+ perror("l2-pkt-privsep: bind(PF_UNIX)");
goto fail;
}