Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb printf -> aprint_normal to avoid empty linefeeds...



details:   https://anonhg.NetBSD.org/src/rev/06ab83be34e6
branches:  trunk
changeset: 752236:06ab83be34e6
user:      pooka <pooka%NetBSD.org@localhost>
date:      Sat Feb 20 14:52:22 2010 +0000

description:
printf -> aprint_normal to avoid empty linefeeds and partial messages
for AB_QUIET.

diffstat:

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

diffs (29 lines):

diff -r 704572305beb -r 06ab83be34e6 sys/dev/usb/ucom.c
--- a/sys/dev/usb/ucom.c        Sat Feb 20 13:56:29 2010 +0000
+++ b/sys/dev/usb/ucom.c        Sat Feb 20 14:52:22 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ucom.c,v 1.82 2010/01/06 20:37:56 martin Exp $ */
+/*     $NetBSD: ucom.c,v 1.83 2010/02/20 14:52:22 pooka 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.82 2010/01/06 20:37:56 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ucom.c,v 1.83 2010/02/20 14:52:22 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -202,8 +202,8 @@
        struct tty *tp;
 
        if (uca->info != NULL)
-               printf(": %s", uca->info);
-       printf("\n");
+               aprint_normal(": %s", uca->info);
+       aprint_normal("\n");
 
        sc->sc_dev = self;
        sc->sc_udev = uca->device;



Home | Main Index | Thread Index | Old Index