summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2011-10-09 17:01:01 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2011-10-09 17:01:01 +0200
commit1cb97af419ee5bff45049f4d3a85acadbb5b1cb9 (patch)
tree4837e5fd1996a5cc6db8ecd00efc7fbba1080c0d
parent9491f9f593c1195039cecd1bb2a502363b58c66d (diff)
Extend the error message.
-rw-r--r--sysdep/bsd/krt-sock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdep/bsd/krt-sock.c b/sysdep/bsd/krt-sock.c
index 72295906..1647c5ea 100644
--- a/sysdep/bsd/krt-sock.c
+++ b/sysdep/bsd/krt-sock.c
@@ -181,7 +181,7 @@ krt_sock_send(int cmd, rte *e)
msg.rtm.rtm_msglen = l;
if ((l = write(rt_sock, (char *)&msg, l)) < 0) {
- log(L_ERR "KRT: Error sending route %I/%d to kernel", net->n.prefix, net->n.pxlen);
+ log(L_ERR "KRT: Error sending route %I/%d to kernel: %m", net->n.prefix, net->n.pxlen);
return -1;
}