From owner-freebsd-bugs Wed Aug 29 13:10: 7 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E671E37B405 for ; Wed, 29 Aug 2001 13:10:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f7TKA0793946; Wed, 29 Aug 2001 13:10:00 -0700 (PDT) (envelope-from gnats) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id E6FB937B406 for ; Wed, 29 Aug 2001 13:06:33 -0700 (PDT) (envelope-from keramida@ceid.upatras.gr) Received: from hades.hell.gr (patr530-a101.otenet.gr [212.205.215.101]) by mailsrv.otenet.gr (8.11.5/8.11.5) with ESMTP id f7TK6Kw17605 for ; Wed, 29 Aug 2001 23:06:20 +0300 (EEST) Received: (from charon@localhost) by hades.hell.gr (8.11.6/8.11.6) id f7TBpw606363; Wed, 29 Aug 2001 14:51:58 +0300 (EEST) (envelope-from charon) Message-Id: <200108291151.f7TBpw606363@hades.hell.gr> Date: Wed, 29 Aug 2001 14:51:58 +0300 (EEST) From: Giorgos Keramidas Reply-To: Giorgos Keramidas To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: kern/30198: minor correction of message printed with boot -v by atapi-cd driver Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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