Typo: ivalid -> invalid.

This commit is contained in:
Kevin Lo 2015-01-21 09:01:48 +00:00
parent 099cce842d
commit b1d634e627

View File

@ -374,7 +374,7 @@ mii_attach(device_t dev, device_t *miibus, if_t ifp,
}
if (offloc != MII_OFFSET_ANY && (offloc < 0 || offloc >= MII_NPHY)) {
printf("%s: ivalid offloc %d\n", __func__, offloc);
printf("%s: invalid offloc %d\n", __func__, offloc);
return (EINVAL);
}
@ -383,7 +383,7 @@ mii_attach(device_t dev, device_t *miibus, if_t ifp,
phymax = MII_NPHY - 1;
} else {
if (phyloc < 0 || phyloc >= MII_NPHY) {
printf("%s: ivalid phyloc %d\n", __func__, phyloc);
printf("%s: invalid phyloc %d\n", __func__, phyloc);
return (EINVAL);
}
phymin = phymax = phyloc;