1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00

if_printf() won't emit a newline unless told to.

This commit is contained in:
Yaroslav Tykhiy 2004-05-26 11:41:26 +00:00
parent 3fb17452b0
commit 6cbd3e99ec
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=129748

View File

@ -353,7 +353,8 @@ vlan_start(struct ifnet *ifp)
} else {
M_PREPEND(m, ifv->ifv_encaplen, M_DONTWAIT);
if (m == NULL) {
if_printf(ifp, "unable to prepend VLAN header");
if_printf(ifp,
"unable to prepend VLAN header\n");
ifp->if_oerrors++;
continue;
}
@ -363,7 +364,7 @@ vlan_start(struct ifnet *ifp)
m = m_pullup(m, sizeof(*evl));
if (m == NULL) {
if_printf(ifp,
"cannot pullup VLAN header");
"cannot pullup VLAN header\n");
ifp->if_oerrors++;
continue;
}