Print ifname when sendmsg failed.

Approved by: jkh
This commit is contained in:
Yoshinobu Inoue 2000-02-24 18:46:51 +00:00
parent c23e256eef
commit 93eff08412
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=57435

View File

@ -1169,8 +1169,8 @@ struct rainfo *rainfo;
if (i < 0 || i != rainfo->ra_datalen) { if (i < 0 || i != rainfo->ra_datalen) {
if (i < 0) { if (i < 0) {
syslog(LOG_ERR, "<%s> sendmsg: %s", syslog(LOG_ERR, "<%s> sendmsg to %s: %s",
__FUNCTION__, strerror(errno)); __FUNCTION__, rainfo->ifname, strerror(errno));
} }
} }