diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2007-07-25 21:22:21 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2007-07-25 21:22:21 +0000 |
commit | 2a06794e0449288c91c5fbccd8dfe13c4cacf9d9 (patch) | |
tree | 8679e55f4a5e3a54e3b812ca75375cd3da94eb99 /sys | |
parent | a7f00a3b55e80534162f7ac81a6ba8d82d2fc389 (diff) |
Add a missing splx() and while there update the printf() to match the format
of the other ones. From Marc Winiger mw at msys . ch
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/usb/if_cdce.c | 7 |
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; } } |