summaryrefslogtreecommitdiff
path: root/sys/dev/cardbus
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2008-01-16 03:39:05 +0000
committerBrad Smith <brad@cvs.openbsd.org>2008-01-16 03:39:05 +0000
commita25938ad144a024f282fec3159fc8af9f5d79263 (patch)
treeeaef429a2c6e0c35020c96a9c6016170ccce2df2 /sys/dev/cardbus
parent35a801ffe94f0838a493bd0b9a9298987cbf3b91 (diff)
- Remove a unwanted slash from a error message printf
- Fix interrupt string printing in the dmesg output ok dlg@
Diffstat (limited to 'sys/dev/cardbus')
-rw-r--r--sys/dev/cardbus/if_dc_cardbus.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/cardbus/if_dc_cardbus.c b/sys/dev/cardbus/if_dc_cardbus.c
index a85ab321380..8ad129805c8 100644
--- a/sys/dev/cardbus/if_dc_cardbus.c
+++ b/sys/dev/cardbus/if_dc_cardbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_dc_cardbus.c,v 1.24 2007/05/08 00:04:47 deraadt Exp $ */
+/* $OpenBSD: if_dc_cardbus.c,v 1.25 2008/01/16 03:39:04 brad Exp $ */
#include <sys/param.h>
#include <sys/systm.h>
@@ -116,7 +116,7 @@ dc_cardbus_attach(parent, self, aux)
&sc->dc_btag, &sc->dc_bhandle, &addr, &csc->sc_mapsize) == 0) {
csc->sc_actype = CARDBUS_MEM_ENABLE;
} else {
- printf(": can\'t map device registers\n");
+ printf(": can't map device registers\n");
return;
}
@@ -200,8 +200,8 @@ dc_cardbus_attach(parent, self, aux)
printf(": can't establish interrupt at %d\n",
ca->ca_intrline);
return;
- } else
- printf(" irq %d", ca->ca_intrline);
+ }
+ printf(": irq %d", ca->ca_intrline);
dc_reset(sc);