summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2011-11-09 10:17:58 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2011-11-09 10:17:58 +0000
commite0df7a0c8465bf5b6633483118f9cd25a3efeb7b (patch)
tree5ef9f8db06a16ff95d9e2aba22894f06dd462a13 /sys/arch
parentef8c4160e2847d43a9c70b45a31ab7a689a5df93 (diff)
Missing argument to error printf()
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/beagle/dev/omehci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/beagle/dev/omehci.c b/sys/arch/beagle/dev/omehci.c
index ccb99848d3a..cb77b85d7b2 100644
--- a/sys/arch/beagle/dev/omehci.c
+++ b/sys/arch/beagle/dev/omehci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: omehci.c,v 1.7 2011/10/24 22:49:07 drahn Exp $ */
+/* $OpenBSD: omehci.c,v 1.8 2011/11/09 10:17:57 miod Exp $ */
/*
* Copyright (c) 2005 David Gwynne <dlg@openbsd.org>
@@ -131,7 +131,7 @@ omehci_attach(struct device *parent, struct device *self, void *aux)
strlcpy(sc->sc.sc_vendor, "OMAP3[45]xx", sizeof(sc->sc.sc_vendor));
r = ehci_init(&sc->sc);
if (r != USBD_NORMAL_COMPLETION) {
- printf("%s: init failed, error=%d\n", devname);
+ printf("%s: init failed, error=%d\n", devname, r);
arm_intr_disestablish(sc->sc_ih);
sc->sc_ih = NULL;