diff options
author | marius <marius@FreeBSD.org> | 2010-11-22 20:57:44 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2010-11-22 20:57:44 +0000 |
commit | 7b665e6d2eac14159fb2ecac231ed71112f902e6 (patch) | |
tree | 8b5790aa57b91f21d8f61d9c6f6cda916f6b0cb4 /sys/dev/mii | |
parent | 82896fc74f46ba5f27ba584ae8f368f7d6da8d12 (diff) | |
download | FreeBSD-src-7b665e6d2eac14159fb2ecac231ed71112f902e6.zip FreeBSD-src-7b665e6d2eac14159fb2ecac231ed71112f902e6.tar.gz |
Add missing newlines.
MFC after: 3 days
Diffstat (limited to 'sys/dev/mii')
-rw-r--r-- | sys/dev/mii/mii.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/mii/mii.c b/sys/dev/mii/mii.c index 3df5dfa..8485691 100644 --- a/sys/dev/mii/mii.c +++ b/sys/dev/mii/mii.c @@ -137,7 +137,7 @@ miibus_attach(device_t dev) free(children, M_TEMP); } if (nchildren == 0) { - device_printf(dev, "cannot get children"); + device_printf(dev, "cannot get children\n"); return (ENXIO); } ivars = device_get_ivars(dev); @@ -311,12 +311,12 @@ mii_attach(device_t dev, device_t *miibus, struct ifnet *ifp, int bmsr, first, i, nchildren, offset, phymax, phymin, rv; if (phyloc != MII_PHY_ANY && offloc != MII_OFFSET_ANY) { - printf("%s: phyloc and offloc specified", __func__); + printf("%s: phyloc and offloc specified\n", __func__); return (EINVAL); } if (offloc != MII_OFFSET_ANY && (offloc < 0 || offloc >= MII_NPHY)) { - printf("%s: ivalid offloc %d", __func__, offloc); + printf("%s: ivalid offloc %d\n", __func__, offloc); return (EINVAL); } @@ -325,7 +325,7 @@ mii_attach(device_t dev, device_t *miibus, struct ifnet *ifp, phymax = MII_NPHY - 1; } else { if (phyloc < 0 || phyloc >= MII_NPHY) { - printf("%s: ivalid phyloc %d", __func__, phyloc); + printf("%s: ivalid phyloc %d\n", __func__, phyloc); return (EINVAL); } phymin = phymax = phyloc; @@ -352,7 +352,7 @@ mii_attach(device_t dev, device_t *miibus, struct ifnet *ifp, if (ivars->ifp != ifp || ivars->ifmedia_upd != ifmedia_upd || ivars->ifmedia_sts != ifmedia_sts || ivars->mii_flags != flags) { - printf("%s: non-matching invariant", __func__); + printf("%s: non-matching invariant\n", __func__); return (EINVAL); } /* |