diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-05-20 19:01:14 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-05-20 19:01:14 +0200 |
commit | 86700cf7adea335db27215a8be6d480c99ce4344 (patch) | |
tree | 5b0181a783d3619ddb238590549ae709b47d4c6e /src/loopback-setup.c | |
parent | 78c390dee163db80ed903c3d830e7115409f5f34 (diff) |
loopback-setup: be more verbose when something is failing
Diffstat (limited to 'src/loopback-setup.c')
-rw-r--r-- | src/loopback-setup.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/loopback-setup.c b/src/loopback-setup.c index e37bf4190b..69b79e1b7c 100644 --- a/src/loopback-setup.c +++ b/src/loopback-setup.c @@ -217,8 +217,10 @@ static int read_response(int fd) { nlmsgerr = NLMSG_DATA(&response.header); - if (nlmsgerr->error < 0 && nlmsgerr->error != -EEXIST) + if (nlmsgerr->error < 0 && nlmsgerr->error != -EEXIST) { + log_warning("Netlink failure for request %i: %s", response.header.nlmsg_seq, strerror(nlmsgerr->error)); return nlmsgerr->error; + } return response.header.nlmsg_seq; } |