summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorshin <shin@FreeBSD.org>2000-02-24 18:46:51 +0000
committershin <shin@FreeBSD.org>2000-02-24 18:46:51 +0000
commit298e37dd98bb0ce3f20c4e1ec61c1abcbdd16a1a (patch)
tree13d7e19a7a5c3aa1eef9069818e04900e5a06454 /usr.sbin
parente2eb48858809b3595e98ebc530d7f382cdd3fc40 (diff)
downloadFreeBSD-src-298e37dd98bb0ce3f20c4e1ec61c1abcbdd16a1a.zip
FreeBSD-src-298e37dd98bb0ce3f20c4e1ec61c1abcbdd16a1a.tar.gz
Print ifname when sendmsg failed.
Approved by: jkh
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/rtadvd/rtadvd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/rtadvd/rtadvd.c b/usr.sbin/rtadvd/rtadvd.c
index 4a9d276..d5a5845 100644
--- a/usr.sbin/rtadvd/rtadvd.c
+++ b/usr.sbin/rtadvd/rtadvd.c
@@ -1169,8 +1169,8 @@ struct rainfo *rainfo;
if (i < 0 || i != rainfo->ra_datalen) {
if (i < 0) {
- syslog(LOG_ERR, "<%s> sendmsg: %s",
- __FUNCTION__, strerror(errno));
+ syslog(LOG_ERR, "<%s> sendmsg to %s: %s",
+ __FUNCTION__, rainfo->ifname, strerror(errno));
}
}
OpenPOWER on IntegriCloud