X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Floopback-setup.c;h=74a1286807f8f7c69133bf1e8ac6ce1c96830f58;hp=e37bf4190bd010d2207130952d48d447f6f80b05;hb=385771fcf0e9bda850c5cee765ab70431dbed2fc;hpb=e99e38bbdcca3fe5956823bdb3d38544ccf93221 diff --git a/src/loopback-setup.c b/src/loopback-setup.c index e37bf4190..74a128680 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; }