diff options
author | Jason Wright <jason@cvs.openbsd.org> | 1999-04-18 03:13:15 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 1999-04-18 03:13:15 +0000 |
commit | 8c5dd9030d026054d5976090e9f419c621b22abf (patch) | |
tree | 766135567198fb4bfe94ffa47de1708e0de7dc1f /sys/arch/sparc/dev/hme.c | |
parent | cb888801ec6603ede02b8f5d002f77cef661ab6c (diff) |
KNF & typo in printf
Diffstat (limited to 'sys/arch/sparc/dev/hme.c')
-rw-r--r-- | sys/arch/sparc/dev/hme.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/sparc/dev/hme.c b/sys/arch/sparc/dev/hme.c index c09ecc3ff12..0ba8bfa1129 100644 --- a/sys/arch/sparc/dev/hme.c +++ b/sys/arch/sparc/dev/hme.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hme.c,v 1.18 1999/02/23 23:44:48 jason Exp $ */ +/* $OpenBSD: hme.c,v 1.19 1999/04/18 03:13:14 jason Exp $ */ /* * Copyright (c) 1998 Jason L. Wright (jason@thought.net) @@ -217,12 +217,12 @@ hmeattach(parent, self, aux) * Otherwise, use the machine's builtin MAC. */ if (getprop(ca->ca_ra.ra_node, "local-mac-address", - sc->sc_arpcom.ac_enaddr, ETHER_ADDR_LEN) <= 0) { + sc->sc_arpcom.ac_enaddr, ETHER_ADDR_LEN) <= 0) { myetheraddr(sc->sc_arpcom.ac_enaddr); } printf(" pri %d: address %s rev %d\n", pri, - ether_sprintf(sc->sc_arpcom.ac_enaddr), sc->sc_rev); + ether_sprintf(sc->sc_arpcom.ac_enaddr), sc->sc_rev); sc->sc_mii.mii_ifp = ifp; sc->sc_mii.mii_readreg = hme_mii_read; @@ -1061,7 +1061,7 @@ hme_mii_write(self, phy, reg, val) DELAY(200); } if (!tries) - printf("%s: mii_read failed\n", sc->sc_dev.dv_xname); + printf("%s: mii_write failed\n", sc->sc_dev.dv_xname); return; } |