Module Name: src Committed By: manu Date: Fri Nov 16 00:34:51 UTC 2018
Modified Files: src/sys/dev/usb: usbdi.c Log Message: Build fix >From David H. Gutteridge To generate a diff of this commit: cvs rdiff -u -r1.179 -r1.180 src/sys/dev/usb/usbdi.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/usbdi.c diff -u src/sys/dev/usb/usbdi.c:1.179 src/sys/dev/usb/usbdi.c:1.180 --- src/sys/dev/usb/usbdi.c:1.179 Thu Nov 15 02:35:23 2018 +++ src/sys/dev/usb/usbdi.c Fri Nov 16 00:34:50 2018 @@ -1,4 +1,4 @@ -/* $NetBSD: usbdi.c,v 1.179 2018/11/15 02:35:23 manu Exp $ */ +/* $NetBSD: usbdi.c,v 1.180 2018/11/16 00:34:50 manu Exp $ */ /* * Copyright (c) 1998, 2012, 2015 The NetBSD Foundation, Inc. @@ -32,7 +32,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: usbdi.c,v 1.179 2018/11/15 02:35:23 manu Exp $"); +__KERNEL_RCSID(0, "$NetBSD: usbdi.c,v 1.180 2018/11/16 00:34:50 manu Exp $"); #ifdef _KERNEL_OPT #include "opt_usb.h" @@ -924,7 +924,7 @@ usb_transfer_complete(struct usbd_xfer * !usbd_xfer_isread(xfer)) { USBHIST_LOG(usbdebug, "Possible output ack miss for xfer %#jx: " "hiding write timeout to %d.%s for %d bytes written", - xfer, curlwp->l_proc->p_pid, curlwp->l_lid, + (uintptr_t)xfer, curlwp->l_proc->p_pid, curlwp->l_lid, xfer->ux_length); xfer->ux_status = USBD_NORMAL_COMPLETION;