summaryrefslogtreecommitdiffstats
path: root/sys/dev/fe
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1996-01-26 09:29:29 +0000
committerphk <phk@FreeBSD.org>1996-01-26 09:29:29 +0000
commit2dd896405c74abac2e4fc5b59f6e4c0c8510f53f (patch)
tree60e789740041241e0b666fa65bdd83de42c3b38a /sys/dev/fe
parent8b13b00640349354a34dca6dbab316a65abb70d6 (diff)
downloadFreeBSD-src-2dd896405c74abac2e4fc5b59f6e4c0c8510f53f.zip
FreeBSD-src-2dd896405c74abac2e4fc5b59f6e4c0c8510f53f.tar.gz
The last part of the ether_sprint -> %6D change.
Sorry for the delay. (%D is for hexdumping.)
Diffstat (limited to 'sys/dev/fe')
-rw-r--r--sys/dev/fe/if_fe.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/dev/fe/if_fe.c b/sys/dev/fe/if_fe.c
index 1a3b2b6..5e141c5 100644
--- a/sys/dev/fe/if_fe.c
+++ b/sys/dev/fe/if_fe.c
@@ -1125,8 +1125,8 @@ fe_attach ( struct isa_device *isa_dev )
fe_setlinkaddr( sc );
/* Print additional info when attached. */
- printf( "fe%d: address %s, type %s\n", sc->sc_unit,
- ether_sprintf( sc->sc_enaddr ), sc->typestr );
+ printf( "fe%d: address %6D, type %s\n", sc->sc_unit,
+ sc->sc_enaddr, ":" , sc->typestr );
#if FE_DEBUG >= 3
{
int buf, txb, bbw, sbw, ram;
@@ -1301,8 +1301,8 @@ fe_init ( int unit )
|| ( sc->sc_enaddr[ 0 ] == 0x00
&& sc->sc_enaddr[ 1 ] == 0x00
&& sc->sc_enaddr[ 2 ] == 0x00 ) ) {
- log( LOG_ERR, "fe%d: invalid station address (%s)\n",
- sc->sc_unit, ether_sprintf( sc->sc_enaddr ) );
+ log( LOG_ERR, "fe%d: invalid station address (%6D)\n",
+ sc->sc_unit, sc->sc_enaddr, ":" );
return;
}
#endif
@@ -2314,9 +2314,9 @@ fe_get_packet ( struct fe_softc * sc, u_short len )
* We found an error (of this driver.)
*/
log( LOG_WARNING,
- "fe%d: got an unwanted packet, dst = %s\n",
+ "fe%d: got an unwanted packet, dst = %6D\n",
sc->sc_unit,
- ether_sprintf( eh->ether_dhost ) );
+ eh->ether_dhost , ":" );
m_freem( m );
return 0;
}
@@ -2526,8 +2526,8 @@ fe_mcaf ( struct fe_softc *sc )
}
index = fe_hash( enm->enm_addrlo );
#if FE_DEBUG >= 4
- log( LOG_INFO, "fe%d: hash(%s) == %d\n",
- sc->sc_unit, ether_sprintf( enm->enm_addrlo ), index );
+ log( LOG_INFO, "fe%d: hash(%6D) == %d\n",
+ sc->sc_unit, enm->enm_addrlo , ":", index );
#endif
filter.data[index >> 3] |= 1 << (index & 7);
OpenPOWER on IntegriCloud