summaryrefslogtreecommitdiff
path: root/accel-pppd/libnetlink/libnetlink.c
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pppd/libnetlink/libnetlink.c')
-rw-r--r--accel-pppd/libnetlink/libnetlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/libnetlink/libnetlink.c b/accel-pppd/libnetlink/libnetlink.c
index 026df82b..0536783a 100644
--- a/accel-pppd/libnetlink/libnetlink.c
+++ b/accel-pppd/libnetlink/libnetlink.c
@@ -139,7 +139,7 @@ int __export rtnl_send_check(struct rtnl_handle *rth, const char *buf, int len)
struct nlmsgerr *err = (struct nlmsgerr*)NLMSG_DATA(h);
if (h->nlmsg_len < NLMSG_LENGTH(sizeof(struct nlmsgerr)))
log_debug("libnetlink: ""ERROR truncated\n");
- else
+ else
errno = -err->error;
return -1;
}