Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/usb Build fix



details:   https://anonhg.NetBSD.org/src/rev/0faa47b8014a
branches:  trunk
changeset: 445881:0faa47b8014a
user:      manu <manu%NetBSD.org@localhost>
date:      Fri Nov 16 00:34:50 2018 +0000

description:
Build fix

>From David H. Gutteridge

diffstat:

 sys/dev/usb/usbdi.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 0bddd232e491 -r 0faa47b8014a sys/dev/usb/usbdi.c
--- a/sys/dev/usb/usbdi.c       Thu Nov 15 23:53:40 2018 +0000
+++ b/sys/dev/usb/usbdi.c       Fri Nov 16 00:34:50 2018 +0000
@@ -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 @@
            !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;



Home | Main Index | Thread Index | Old Index