Replace perror() with wpa_printf(strerror) in ctrl_iface calls
authorJouni Malinen <j@w1.fi>
Mon, 26 Aug 2013 08:46:21 +0000 (11:46 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 26 Aug 2013 08:46:21 +0000 (11:46 +0300)
commit2c6f8cf6c8a9091475f3986c84c4f8922191db57
tree4f37aab8db2994d6db5471a5393ce96b1065ba5a
parent024913a1566c54fb92995528440867b115734a32
Replace perror() with wpa_printf(strerror) in ctrl_iface calls

This replaces number of perror() calls with wpa_printf() to get the
error messages embedded within rest of the debug messages in the same
stream instead of pushing these to stderr which may get directed to
another location.

Signed-hostap: Jouni Malinen <j@w1.fi>
hostapd/ctrl_iface.c
wpa_supplicant/ctrl_iface_unix.c