Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Oct 1998 17:03:48 +0200 (CEST)
From:      Stefan Eggers <seggers@semyam.dinoco.de>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Cc:        seggers@semyam.dinoco.de
Subject:   kern/8168: ppbus plip boot message misses \n
Message-ID:  <199810061503.RAA00825@semyam.dinoco.de>

next in thread | raw e-mail | index | archive | help

>Number:         8168
>Category:       kern
>Synopsis:       ppbus plip boot message misses \n
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct  6 08:10:01 PDT 1998
>Last-Modified:
>Originator:     Stefan Eggers
>Organization:
none
>Release:        FreeBSD 3.0-BETA i386
>Environment:

	-current cvsup'ed last Saturday.

>Description:

	A message used during verbose booting is missing a newline
which makes the output look uglier than necessary.  This affects the
ppbus plip.

>How-To-Repeat:

	Reboot with verbose messages a kernel with ppbus and plip.
Look at the dmesg output.

>Fix:
	
	Untested.  I hope this complicated patch works.  ;-)

Index: if_plip.c
===================================================================
RCS file: /usr2/FreeBSD/CVSROOT/src/sys/dev/ppbus/if_plip.c,v
retrieving revision 1.3
diff -u -r1.3 if_plip.c
--- if_plip.c	1998/08/17 01:05:23	1.3
+++ if_plip.c	1998/10/06 14:59:05
@@ -212,7 +212,7 @@
 	lp->lp_unit = nlp;
 
 	if (bootverbose)
-		printf("plip: irq %d", ppb->ppb_link->id_irq);
+		printf("plip: irq %d\n", ppb->ppb_link->id_irq);
 
 	/*
 	 * ppbus dependent initialisation.
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810061503.RAA00825>