summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmatthew <jmatthew@openbsd.org>2014-01-22 02:31:44 +0000
committerjmatthew <jmatthew@openbsd.org>2014-01-22 02:31:44 +0000
commita409ee0709124bc74fcefd836ee3a2ca90bb2259 (patch)
tree23297df4c6ebe592266b028f981221581ec35d00
parentDelete casts in assignments to void* and passed void* arguments. (diff)
downloadwireguard-openbsd-a409ee0709124bc74fcefd836ee3a2ca90bb2259.tar.xz
wireguard-openbsd-a409ee0709124bc74fcefd836ee3a2ca90bb2259.zip
missing printf arg, spotted by jsg@
-rw-r--r--sys/dev/pci/qla_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/qla_pci.c b/sys/dev/pci/qla_pci.c
index 6ce4297bc03..25c7f55a8df 100644
--- a/sys/dev/pci/qla_pci.c
+++ b/sys/dev/pci/qla_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: qla_pci.c,v 1.2 2014/01/21 02:40:02 jmatthew Exp $ */
+/* $OpenBSD: qla_pci.c,v 1.3 2014/01/22 02:31:44 jmatthew Exp $ */
/*
* Copyright (c) 2011 David Gwynne <dlg@openbsd.org>
@@ -124,7 +124,7 @@ qla_pci_attach(struct device *parent, struct device *self, void *aux)
psc->psc_ih = pci_intr_establish(psc->psc_pc, ih, IPL_BIO,
qla_intr, sc, sc->sc_dev.dv_xname);
if (psc->psc_ih == NULL) {
- printf("%s: unable to establish interrupt\n");
+ printf("%s: unable to establish interrupt\n", DEVNAME(sc));
goto deintr;
}