svn commit: r215711 - head/sys/dev/mii
Marius Strobl
marius at FreeBSD.org
Mon Nov 22 20:57:45 UTC 2010
Author: marius
Date: Mon Nov 22 20:57:44 2010
New Revision: 215711
URL: http://svn.freebsd.org/changeset/base/215711
Log:
Add missing newlines.
MFC after: 3 days
Modified:
head/sys/dev/mii/mii.c
Modified: head/sys/dev/mii/mii.c
==============================================================================
--- head/sys/dev/mii/mii.c Mon Nov 22 20:52:18 2010 (r215710)
+++ head/sys/dev/mii/mii.c Mon Nov 22 20:57:44 2010 (r215711)
@@ -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 *miibu
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 *miibu
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 *miibu
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);
}
/*
More information about the svn-src-head
mailing list