diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2010-12-08 20:22:50 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2010-12-08 20:22:50 +0000 |
commit | b5fc34576fddb760f8fd8df0ec72f3054347f5be (patch) | |
tree | c2dc3ed457f8663c36214c1f08a4ff071f0d4431 /sys/dev/pci/pccbb.c | |
parent | ccd712705ac0b9392a0824249a25c4daebc6f92f (diff) |
Fix compilation with option CBB_DEBUG; noticed by Dave Anderson on misc@
Diffstat (limited to 'sys/dev/pci/pccbb.c')
-rw-r--r-- | sys/dev/pci/pccbb.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/dev/pci/pccbb.c b/sys/dev/pci/pccbb.c index cb29b8211df..fd37b407280 100644 --- a/sys/dev/pci/pccbb.c +++ b/sys/dev/pci/pccbb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pccbb.c,v 1.86 2010/09/20 06:33:48 matthew Exp $ */ +/* $OpenBSD: pccbb.c,v 1.87 2010/12/08 20:22:49 miod Exp $ */ /* $NetBSD: pccbb.c,v 1.96 2004/03/28 09:49:31 nakayama Exp $ */ /* @@ -878,9 +878,8 @@ pccbb_checksockstat(struct pccbb_softc *sc) if ((sockstate & CB_SOCKET_STAT_CD) != 0) { /* A card should be removed. */ if (sc->sc_flags & CBB_CARDEXIST) { - DPRINTF(("%s: 0x%08x", sc->sc_dev.dv_xname, - sockevent)); - DPRINTF((" card removed, 0x%08x\n", sockstate)); + DPRINTF(("%s: card removed, 0x%08x\n", + sc->sc_dev.dv_xname, sockstate)); sc->sc_flags &= ~CBB_CARDEXIST; if (sc->sc_csc->sc_status & CARDSLOT_STATUS_CARD_16) { #if 0 |