summaryrefslogtreecommitdiffstats
path: root/sysdep/bsd
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 /sysdep/bsd
parent9491f9f593c1195039cecd1bb2a502363b58c66d (diff)
downloadbird-1cb97af419ee5bff45049f4d3a85acadbb5b1cb9.tar
bird-1cb97af419ee5bff45049f4d3a85acadbb5b1cb9.zip
Extend the error message.
Diffstat (limited to 'sysdep/bsd')
-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 7229590..1647c5e 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;
}