summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2007-11-26 17:45:15 +0000
committerBrad Smith <brad@cvs.openbsd.org>2007-11-26 17:45:15 +0000
commit775c953d743b60c4a1492494e69d57ac41476816 (patch)
treeb02c56ea6fe3087a5a955c2924925f1e1b1536a0 /sys/dev/ic
parent5a7b42ca40bed7bd36cf414cd5fc1d44d794b67f (diff)
print the comma before the MAC address string in dc_attach() instead of the
PCI front end attach function. This corrects the dmesg output for CardBus adapters and ensures proper dmesg output if an error occurs in dc_attach(). ok dlg@
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/dc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/dc.c b/sys/dev/ic/dc.c
index a297da047ce..7686db16fce 100644
--- a/sys/dev/ic/dc.c
+++ b/sys/dev/ic/dc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dc.c,v 1.98 2007/10/01 04:03:51 krw Exp $ */
+/* $OpenBSD: dc.c,v 1.99 2007/11/26 17:45:14 brad Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -1759,7 +1759,7 @@ hasmac:
/*
* A 21143 or clone chip was detected. Inform the world.
*/
- printf(" address %s\n", ether_sprintf(sc->sc_arpcom.ac_enaddr));
+ printf(", address %s\n", ether_sprintf(sc->sc_arpcom.ac_enaddr));
ifp = &sc->sc_arpcom.ac_if;
ifp->if_softc = sc;