Module Name: src Committed By: mrg Date: Wed Feb 9 07:32:33 UTC 2022
Modified Files: src/sys/dev/usb: umcs.c Log Message: if the interrupt pipe can't be opened, also print the error. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/sys/dev/usb/umcs.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/usb/umcs.c diff -u src/sys/dev/usb/umcs.c:1.17 src/sys/dev/usb/umcs.c:1.18 --- src/sys/dev/usb/umcs.c:1.17 Sat Aug 7 16:19:17 2021 +++ src/sys/dev/usb/umcs.c Wed Feb 9 07:32:33 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: umcs.c,v 1.17 2021/08/07 16:19:17 thorpej Exp $ */ +/* $NetBSD: umcs.c,v 1.18 2022/02/09 07:32:33 mrg Exp $ */ /* $FreeBSD: head/sys/dev/usb/serial/umcs.c 260559 2014-01-12 11:44:28Z hselasky $ */ /*- @@ -41,7 +41,7 @@ * */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: umcs.c,v 1.17 2021/08/07 16:19:17 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: umcs.c,v 1.18 2022/02/09 07:32:33 mrg Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -283,7 +283,7 @@ umcs7840_attach(device_t parent, device_ sc->sc_intr_buflen, umcs7840_intr, 100); if (error) { aprint_error_dev(self, "cannot open interrupt pipe " - "(addr %d)\n", intr_addr); + "(addr %d): error %d\n", intr_addr, error); sc->sc_dying = true; return; }