diff options
author | yar <yar@FreeBSD.org> | 2004-05-26 11:41:26 +0000 |
---|---|---|
committer | yar <yar@FreeBSD.org> | 2004-05-26 11:41:26 +0000 |
commit | 64caa10f3b26d3603bbdf394a181c0a23bff3bd2 (patch) | |
tree | a7c4b9b6e05f851f9915a80449649981787a0309 /sys/net | |
parent | 4a04a3b0074cff6df372ea64435cdfaa51dd6835 (diff) | |
download | FreeBSD-src-64caa10f3b26d3603bbdf394a181c0a23bff3bd2.zip FreeBSD-src-64caa10f3b26d3603bbdf394a181c0a23bff3bd2.tar.gz |
if_printf() won't emit a newline unless told to.
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if_vlan.c | 5 |
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; } |