summaryrefslogtreecommitdiff
path: root/sys/dev/cardbus
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2009-06-02 12:32:09 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2009-06-02 12:32:09 +0000
commita12a6dbd15cd3189575a546e55547e9fa894bb3c (patch)
treec9d69a7c2f848a65d30d408ddd5565e8fe428c9d /sys/dev/cardbus
parent6a318e862a4a9ae95093da244047c8f5b6ec78af (diff)
Fix some minor format string problems found in a maze of false positives
provided by Parfait ok oga
Diffstat (limited to 'sys/dev/cardbus')
-rw-r--r--sys/dev/cardbus/ehci_cardbus.c4
-rw-r--r--sys/dev/cardbus/ohci_cardbus.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/cardbus/ehci_cardbus.c b/sys/dev/cardbus/ehci_cardbus.c
index b98bfc4c4ce..ee0f6d7e84e 100644
--- a/sys/dev/cardbus/ehci_cardbus.c
+++ b/sys/dev/cardbus/ehci_cardbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ehci_cardbus.c,v 1.11 2008/06/26 05:42:14 ray Exp $ */
+/* $OpenBSD: ehci_cardbus.c,v 1.12 2009/06/02 12:32:08 deraadt Exp $ */
/* $NetBSD: ehci_cardbus.c,v 1.6.6.3 2004/09/21 13:27:25 skrll Exp $ */
/*
@@ -109,7 +109,7 @@ ehci_cardbus_attach(struct device *parent, struct device *self, void *aux)
/* Map I/O registers */
if (Cardbus_mapreg_map(ct, CARDBUS_CBMEM, CARDBUS_MAPREG_TYPE_MEM, 0,
&sc->sc.iot, &sc->sc.ioh, NULL, &sc->sc.sc_size)) {
- printf(": can't map mem space\n", devname);
+ printf(": can't map mem space\n");
return;
}
diff --git a/sys/dev/cardbus/ohci_cardbus.c b/sys/dev/cardbus/ohci_cardbus.c
index 186f6735eb9..cd2e799bba7 100644
--- a/sys/dev/cardbus/ohci_cardbus.c
+++ b/sys/dev/cardbus/ohci_cardbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ohci_cardbus.c,v 1.11 2008/06/26 05:42:14 ray Exp $ */
+/* $OpenBSD: ohci_cardbus.c,v 1.12 2009/06/02 12:32:08 deraadt Exp $ */
/* $NetBSD: ohci_cardbus.c,v 1.19 2004/08/02 19:14:28 mycroft Exp $ */
/*
@@ -108,7 +108,7 @@ ohci_cardbus_attach(struct device *parent, struct device *self, void *aux)
/* Map I/O registers */
if (Cardbus_mapreg_map(ct, CARDBUS_CBMEM, CARDBUS_MAPREG_TYPE_MEM, 0,
&sc->sc.iot, &sc->sc.ioh, NULL, &sc->sc.sc_size)) {
- printf(": can't map mem space\n", devname);
+ printf(": can't map mem space\n");
return;
}
@@ -134,7 +134,7 @@ ohci_cardbus_attach(struct device *parent, struct device *self, void *aux)
sc->sc_ih = cardbus_intr_establish(cc, cf, ca->ca_intrline,
IPL_USB, ohci_intr, sc, devname);
if (sc->sc_ih == NULL) {
- printf(": couldn't establish interrupt\n", devname);
+ printf(": couldn't establish interrupt\n");
return;
}
printf(": irq %d", ca->ca_intrline);