svn commit: r215886 - stable/8/sys/dev/mii
Marius Strobl
marius at FreeBSD.org
Fri Nov 26 20:57:46 UTC 2010
Author: marius
Date: Fri Nov 26 20:57:45 2010
New Revision: 215886
URL: http://svn.freebsd.org/changeset/base/215886
Log:
MFC: r215711
Add missing newlines.
Modified:
stable/8/sys/dev/mii/mii.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
stable/8/sys/cddl/contrib/opensolaris/ (props changed)
stable/8/sys/contrib/dev/acpica/ (props changed)
stable/8/sys/contrib/pf/ (props changed)
Modified: stable/8/sys/dev/mii/mii.c
==============================================================================
--- stable/8/sys/dev/mii/mii.c Fri Nov 26 20:55:59 2010 (r215885)
+++ stable/8/sys/dev/mii/mii.c Fri Nov 26 20:57:45 2010 (r215886)
@@ -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);
@@ -322,12 +322,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);
}
@@ -336,7 +336,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;
@@ -363,7 +363,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-stable-8
mailing list