Module Name: src
Committed By: skrll
Date: Fri Aug 3 13:19:33 UTC 2018
Modified Files:
src/sys/dev/usb: umcs.c
Log Message:
Fix build
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 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.11 src/sys/dev/usb/umcs.c:1.12
--- src/sys/dev/usb/umcs.c:1.11 Sun Jul 29 02:07:56 2018
+++ src/sys/dev/usb/umcs.c Fri Aug 3 13:19:33 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: umcs.c,v 1.11 2018/07/29 02:07:56 riastradh Exp $ */
+/* $NetBSD: umcs.c,v 1.12 2018/08/03 13:19:33 skrll 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.11 2018/07/29 02:07:56 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: umcs.c,v 1.12 2018/08/03 13:19:33 skrll Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -517,7 +517,8 @@ umcs7840_detach(device_t self, int flags
kmem_free(sc->sc_intr_buf, sc->sc_intr_buflen);
sc->sc_intr_pipe = NULL;
}
- usb_rem_task_wait(sc->sc_udev, &sc->sc_change_task, USB_TASKQ_DRIVER);
+ usb_rem_task_wait(sc->sc_udev, &sc->sc_change_task, USB_TASKQ_DRIVER,
+ NULL);
/* detach children */
for (i = 0; i < sc->sc_numports; i++) {