diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2011-10-09 17:01:01 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2011-10-09 17:01:01 +0200 |
commit | 1cb97af419ee5bff45049f4d3a85acadbb5b1cb9 (patch) | |
tree | 4837e5fd1996a5cc6db8ecd00efc7fbba1080c0d | |
parent | 9491f9f593c1195039cecd1bb2a502363b58c66d (diff) | |
download | bird-1cb97af419ee5bff45049f4d3a85acadbb5b1cb9.tar bird-1cb97af419ee5bff45049f4d3a85acadbb5b1cb9.zip |
Extend the error message.
-rw-r--r-- | sysdep/bsd/krt-sock.c | 2 |
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; } |