From: Lennart Poettering Date: Thu, 20 May 2010 17:01:14 +0000 (+0200) Subject: loopback-setup: be more verbose when something is failing X-Git-Tag: 0.git+20100605+dfd8ee-1~11^2^2~38 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86700cf7adea335db27215a8be6d480c99ce4344;p=systemd loopback-setup: be more verbose when something is failing --- diff --git a/src/loopback-setup.c b/src/loopback-setup.c index e37bf419..69b79e1b 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; }