diff options
Diffstat (limited to 'sys/arch/beagle/dev/omehci.c')
-rw-r--r-- | sys/arch/beagle/dev/omehci.c | 4 |
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; |