Module Name:    src
Committed By:   pooka
Date:           Sat Feb 20 14:52:22 UTC 2010

Modified Files:
        src/sys/dev/usb: ucom.c

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


To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.83 src/sys/dev/usb/ucom.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/usb/ucom.c
diff -u src/sys/dev/usb/ucom.c:1.82 src/sys/dev/usb/ucom.c:1.83
--- src/sys/dev/usb/ucom.c:1.82	Wed Jan  6 20:37:56 2010
+++ src/sys/dev/usb/ucom.c	Sat Feb 20 14:52:22 2010
@@ -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;

Reply via email to