summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/loopback-setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/loopback-setup.c b/src/loopback-setup.c
index 69b79e1b7c..74a1286807 100644
--- a/src/loopback-setup.c
+++ b/src/loopback-setup.c
@@ -218,7 +218,7 @@ static int read_response(int fd) {
nlmsgerr = NLMSG_DATA(&response.header);
if (nlmsgerr->error < 0 && nlmsgerr->error != -EEXIST) {
- log_warning("Netlink failure for request %i: %s", response.header.nlmsg_seq, strerror(nlmsgerr->error));
+ log_warning("Netlink failure for request %i: %s", response.header.nlmsg_seq, strerror(-nlmsgerr->error));
return nlmsgerr->error;
}