Update to previous r241688 to use __func__ instead of spelled out function

name in log(9) message.

Suggested by:	glebius
This commit is contained in:
Andre Oppermann 2012-10-19 10:07:55 +00:00
parent a8c9f6fd75
commit 813ee737dd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=241725

View File

@ -711,8 +711,8 @@ if_attachdomain1(struct ifnet *ifp)
return;
if (ifp->if_afdata_initialized >= domain_init_status) {
IF_AFDATA_UNLOCK(ifp);
log(LOG_WARNING, "if_attachdomain called more than once "
"on %s\n", ifp->if_xname);
log(LOG_WARNING, "%s called more than once on %s\n",
__func__, ifp->if_xname);
return;
}
ifp->if_afdata_initialized = domain_init_status;