summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/usb/if_cdce.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/usb/if_cdce.c b/sys/dev/usb/if_cdce.c
index edfaa7e5d3a..fa7be772a80 100644
--- a/sys/dev/usb/if_cdce.c
+++ b/sys/dev/usb/if_cdce.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_cdce.c,v 1.35 2007/07/25 16:42:24 mbalmer Exp $ */
+/* $OpenBSD: if_cdce.c,v 1.36 2007/07/25 21:22:20 claudio Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000-2003 Bill Paul <wpaul@windriver.com>
@@ -619,8 +619,9 @@ cdce_init(void *xsc)
&sc->cdce_intr_buf, sc->cdce_intr_size, cdce_intr,
USBD_DEFAULT_INTERVAL);
if (err) {
- printf("Failed to establish interrupt pipe: %s\n",
- usbd_errstr(err));
+ printf("%s: open interrupt pipe failed: %s\n",
+ sc->cdce_dev.dv_xname, usbd_errstr(err));
+ splx(s);
return;
}
}