Date: Wed, 29 Aug 2001 14:51:58 +0300 (EEST) From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: FreeBSD-gnats-submit@freebsd.org Subject: kern/30198: minor correction of message printed with boot -v by atapi-cd driver Message-ID: <200108291151.f7TBpw606363@hades.hell.gr>
next in thread | raw e-mail | index | archive | help
>Number: 30198 >Category: kern >Synopsis: minor correction of message printed with boot -v by atapi-cd driver >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Aug 29 13:10:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Giorgos Keramidas >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: System: FreeBSD hades.hell.gr 5.0-CURRENT FreeBSD 5.0-CURRENT #2: Wed Aug 29 05:55:49 EEST 2001 root@hades.hell.gr:/usr/obj/usr/src/sys/CHARON i386 >Description: When booting with -v the messages printed on system console include the following: acd0: Mechanism: ejectable trayacd0: Medium: no/blank disc, unlocked Two messages from acd0 have been printed in one line :-) >How-To-Repeat: Boot a recent kernel with 'boot -v' and watch for acd? messages on the console. >Fix: [-- diff start --] Index: sys/dev/ata/atapi-cd.c =================================================================== RCS file: /home/ncvs/src/sys/dev/ata/atapi-cd.c,v retrieving revision 1.96 diff -u -r1.96 atapi-cd.c --- sys/dev/ata/atapi-cd.c 21 Aug 2001 11:35:47 -0000 1.96 +++ sys/dev/ata/atapi-cd.c 29 Aug 2001 11:45:55 -0000 @@ -400,6 +400,7 @@ printf("%s%s", cdp->cap.eject ? "ejectable " : "", mechanism); else if (cdp->cap.eject) printf("ejectable"); + printf("\n"); if (cdp->cap.mech != MST_MECH_CHANGER) { ata_printf(cdp->atp->controller, cdp->atp->unit, "Medium: "); [-- diff end --] >Release-Note: >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?200108291151.f7TBpw606363>