diff options
author | shin <shin@FreeBSD.org> | 2000-02-24 18:46:51 +0000 |
---|---|---|
committer | shin <shin@FreeBSD.org> | 2000-02-24 18:46:51 +0000 |
commit | 298e37dd98bb0ce3f20c4e1ec61c1abcbdd16a1a (patch) | |
tree | 13d7e19a7a5c3aa1eef9069818e04900e5a06454 | |
parent | e2eb48858809b3595e98ebc530d7f382cdd3fc40 (diff) | |
download | FreeBSD-src-298e37dd98bb0ce3f20c4e1ec61c1abcbdd16a1a.zip FreeBSD-src-298e37dd98bb0ce3f20c4e1ec61c1abcbdd16a1a.tar.gz |
Print ifname when sendmsg failed.
Approved by: jkh
-rw-r--r-- | usr.sbin/rtadvd/rtadvd.c | 4 |
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)); } } |