mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
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:
parent
a8c9f6fd75
commit
813ee737dd
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue