Typo: ivalid -> invalid.
This commit is contained in:
parent
099cce842d
commit
b1d634e627
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user