Source-Changes-HG archive

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

[src/nick-nhusb]: src/sys/dev/usb Remove '\n' from DPRINTF



details:   https://anonhg.NetBSD.org/src/rev/45bbd071098a
branches:  nick-nhusb
changeset: 334148:45bbd071098a
user:      skrll <skrll%NetBSD.org@localhost>
date:      Tue Mar 10 06:40:56 2015 +0000

description:
Remove '\n' from DPRINTF

diffstat:

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

diffs (27 lines):

diff -r e5215d185873 -r 45bbd071098a sys/dev/usb/usb_subr.c
--- a/sys/dev/usb/usb_subr.c    Tue Mar 10 05:59:10 2015 +0000
+++ b/sys/dev/usb/usb_subr.c    Tue Mar 10 06:40:56 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: usb_subr.c,v 1.198.2.6 2015/03/01 08:10:12 skrll Exp $ */
+/*     $NetBSD: usb_subr.c,v 1.198.2.7 2015/03/10 06:40:56 skrll Exp $ */
 /*     $FreeBSD: src/sys/dev/usb/usb_subr.c,v 1.18 1999/11/17 22:33:47 n_hibma Exp $   */
 
 /*
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: usb_subr.c,v 1.198.2.6 2015/03/01 08:10:12 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: usb_subr.c,v 1.198.2.7 2015/03/10 06:40:56 skrll Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_compat_netbsd.h"
@@ -420,7 +420,7 @@
        end = (char *)dev->ud_cdesc + UGETW(dev->ud_cdesc->wTotalLength);
 #define ed ((usb_endpoint_descriptor_t *)p)
        for (endpt = 0; endpt < nendpt; endpt++) {
-               DPRINTFN(10, "endpt=%d\n", endpt, 0, 0, 0);
+               DPRINTFN(10, "endpt=%d", endpt, 0, 0, 0);
                for (; p < end; p += ed->bLength) {
                        DPRINTFN(10, "p=%p end=%p len=%d type=%d",
                            p, end, ed->bLength, ed->bDescriptorType);



Home | Main Index | Thread Index | Old Index