diff options
author | Arturo Borrero Gonzalez <arturo@debian.org> | 2016-10-27 12:20:17 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2016-10-27 16:44:37 +0200 |
commit | 9e94e85e10757aedd7f8dfdbea2ecafcbbb658fd (patch) | |
tree | efdd216e55da8bed2fee04c513fe4302bad2bd6e /src/alarm.c | |
parent | 498d698084d258be8828010db5a8778c938046b3 (diff) |
sync-mode: print errno message on failure
I have observed this message several times:
[ERROR] can't open channel socket
[ERROR] initialization failed
which is very difficult to understand.
The errno message should help this to be a bit more explicit.
With this patch, in the case of wrong interface:
[ERROR] can't open channel socket: No such device
[ERROR] initialization failed
Signed-off-by: Arturo Borrero Gonzalez <arturo@debian.org>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'src/alarm.c')
0 files changed, 0 insertions, 0 deletions