Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb Fix a debug printf format.



details:   https://anonhg.NetBSD.org/src/rev/0afbdafb34b6
branches:  trunk
changeset: 784030:0afbdafb34b6
user:      mbalmer <mbalmer%NetBSD.org@localhost>
date:      Tue Jan 15 10:41:57 2013 +0000

description:
Fix a debug printf format.

diffstat:

 sys/dev/usb/ehci.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r ac616b40e7dc -r 0afbdafb34b6 sys/dev/usb/ehci.c
--- a/sys/dev/usb/ehci.c        Tue Jan 15 10:18:38 2013 +0000
+++ b/sys/dev/usb/ehci.c        Tue Jan 15 10:41:57 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ehci.c,v 1.200 2013/01/15 04:02:56 christos Exp $ */
+/*     $NetBSD: ehci.c,v 1.201 2013/01/15 10:41:57 mbalmer Exp $ */
 
 /*
  * Copyright (c) 2004-2012 The NetBSD Foundation, Inc.
@@ -53,7 +53,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.200 2013/01/15 04:02:56 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.201 2013/01/15 10:41:57 mbalmer Exp $");
 
 #include "ohci.h"
 #include "uhci.h"
@@ -2783,8 +2783,8 @@
                                panic("ehci_alloc_sqtd_chain: curlen == 0");
 #endif
                }
-               DPRINTFN(4,("ehci_alloc_sqtd_chain: len=%d curlen=%zu "
-                           "curoffs=%d\n", len, curlen, (size_t)curoffs));
+               DPRINTFN(4,("ehci_alloc_sqtd_chain: len=%d curlen=%d "
+                           "curoffs=%ld\n", len, curlen, (size_t)curoffs));
 
                /*
                 * Allocate another transfer if there's more data left,



Home | Main Index | Thread Index | Old Index