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 Don't need '\n' in DPRINTF format



details:   https://anonhg.NetBSD.org/src/rev/661a090221d7
branches:  nick-nhusb
changeset: 334541:661a090221d7
user:      skrll <skrll%NetBSD.org@localhost>
date:      Wed Oct 12 14:40:03 2016 +0000

description:
Don't need '\n' in DPRINTF format

diffstat:

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

diffs (36 lines):

diff -r 64a6185d56c7 -r 661a090221d7 sys/dev/usb/ucom.c
--- a/sys/dev/usb/ucom.c        Sun Oct 09 09:36:09 2016 +0000
+++ b/sys/dev/usb/ucom.c        Wed Oct 12 14:40:03 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ucom.c,v 1.108.2.18 2016/10/05 20:55:57 skrll Exp $    */
+/*     $NetBSD: ucom.c,v 1.108.2.19 2016/10/12 14:40:03 skrll Exp $    */
 
 /*
  * Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ucom.c,v 1.108.2.18 2016/10/05 20:55:57 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ucom.c,v 1.108.2.19 2016/10/12 14:40:03 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -453,7 +453,7 @@
 
        /* Nuke the vnodes for any open instances. */
        mn = device_unit(self);
-       DPRINTF("maj=%d mn=%d\n", maj, mn, 0, 0);
+       DPRINTF("maj=%d mn=%d", maj, mn, 0, 0);
        vdevgone(maj, mn, mn, VCHR);
        vdevgone(maj, mn | UCOMDIALOUT_MASK, mn | UCOMDIALOUT_MASK, VCHR);
        vdevgone(maj, mn | UCOMCALLUNIT_MASK, mn | UCOMCALLUNIT_MASK, VCHR);
@@ -561,7 +561,7 @@
 
        tp = sc->sc_tty;
 
-       DPRINTF("unit=%d, tp=%p\n", unit, tp, 0, 0);
+       DPRINTF("unit=%d, tp=%p", unit, tp, 0, 0);
 
        if (kauth_authorize_device_tty(l->l_cred, KAUTH_DEVICE_TTY_OPEN, tp)) {
                mutex_exit(&sc->sc_lock);



Home | Main Index | Thread Index | Old Index