summaryrefslogtreecommitdiffstats
path: root/sys/net/if_vlan.c
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2004-05-26 11:41:26 +0000
committeryar <yar@FreeBSD.org>2004-05-26 11:41:26 +0000
commit64caa10f3b26d3603bbdf394a181c0a23bff3bd2 (patch)
treea7c4b9b6e05f851f9915a80449649981787a0309 /sys/net/if_vlan.c
parent4a04a3b0074cff6df372ea64435cdfaa51dd6835 (diff)
downloadFreeBSD-src-64caa10f3b26d3603bbdf394a181c0a23bff3bd2.zip
FreeBSD-src-64caa10f3b26d3603bbdf394a181c0a23bff3bd2.tar.gz
if_printf() won't emit a newline unless told to.
Diffstat (limited to 'sys/net/if_vlan.c')
-rw-r--r--sys/net/if_vlan.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/net/if_vlan.c b/sys/net/if_vlan.c
index 21809c7..0290042 100644
--- a/sys/net/if_vlan.c
+++ b/sys/net/if_vlan.c
@@ -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;
}
OpenPOWER on IntegriCloud