mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-19 02:29:40 +00:00
Use if_printf().
This commit is contained in:
parent
089b2f2ead
commit
59d776b808
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=112298
@ -520,8 +520,7 @@ fddi_ifattach(ifp, bpf)
|
||||
#endif
|
||||
ifa = ifaddr_byindex(ifp->if_index);
|
||||
if (ifa == NULL) {
|
||||
printf("%s(): no lladdr for %s%d!\n", __FUNCTION__,
|
||||
ifp->if_name, ifp->if_unit);
|
||||
if_printf(ifp, "%s() no lladdr!\n", __func__);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -117,7 +117,7 @@ iso88025_ifattach(struct ifnet *ifp, int bpf)
|
||||
|
||||
ifa = ifaddr_byindex(ifp->if_index);
|
||||
if (ifa == 0) {
|
||||
printf("iso88025_ifattach: no lladdr!\n");
|
||||
if_printf(ifp, "%s() no lladdr!\n", __func__);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user