From nobody@FreeBSD.org  Fri Dec  1 08:28:31 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id B3BCD16A53D
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  1 Dec 2006 08:28:31 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 1587943CD6
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  1 Dec 2006 08:26:33 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id kB18Q0xb090272
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 1 Dec 2006 08:26:00 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id kB18Q0vR090271;
	Fri, 1 Dec 2006 08:26:00 GMT
	(envelope-from nobody)
Message-Id: <200612010826.kB18Q0vR090271@www.freebsd.org>
Date: Fri, 1 Dec 2006 08:26:00 GMT
From: Richard Arends<richard@unixguru.nl>
To: freebsd-gnats-submit@FreeBSD.org
Subject: typo in man acpi_ibm
X-Send-Pr-Version: www-3.0

>Number:         106113
>Category:       i386
>Synopsis:       typo in man acpi_ibm
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    ru
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 01 08:30:10 GMT 2006
>Closed-Date:    Mon Dec 04 11:12:32 GMT 2006
>Last-Modified:  Mon Dec  4 11:20:06 GMT 2006
>Originator:     Richard Arends
>Release:        6.2-PRERELEASE
>Organization:
>Environment:
FreeBSD bsdlap.unixguru.nl 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #1: Wed Nov 29 12:18:04 CET 2006 root@bsdlap.unixguru.nl:/usr/obj/usr/src/sys/BSDLAP  i386
>Description:
In man acpi-ibm there's an example shell script. The first case (0x05) a case termination (;;) is missing.

 case ${NOTIFY} in
                   0x05)
                           LEVEL=`sysctl -n dev.acpi_${OEM}.0.bluetooth`
                           if [ "$LEVEL" = "1" ]
                           then
                                   sysctl dev.acpi_${OEM}.0.bluetooth=0
                                   MESSAGE="bluetooth disabled"
                           else
                                   sysctl dev.acpi_${OEM}.0.bluetooth=1
                                   MESSAGE="bluetooth enabled"
                           fi
                   0x10|0x11)

>How-To-Repeat:
man acpi-ibm
>Fix:
Put a case termination in the first case

 case ${NOTIFY} in
                   0x05)
                           LEVEL=`sysctl -n dev.acpi_${OEM}.0.bluetooth`
                           if [ "$LEVEL" = "1" ]
                           then
                                   sysctl dev.acpi_${OEM}.0.bluetooth=0
                                   MESSAGE="bluetooth disabled"
                           else
                                   sysctl dev.acpi_${OEM}.0.bluetooth=1
                                   MESSAGE="bluetooth enabled"
                           fi
++                         ;;
                   0x10|0x11)

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->patched 
State-Changed-By: ru 
State-Changed-When: Fri Dec 1 09:00:55 UTC 2006 
State-Changed-Why:  
Fix committed to HEAD, thanks! 


Responsible-Changed-From-To: freebsd-i386->ru 
Responsible-Changed-By: ru 
Responsible-Changed-When: Fri Dec 1 09:00:55 UTC 2006 
Responsible-Changed-Why:  

http://www.freebsd.org/cgi/query-pr.cgi?pr=106113 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: i386/106113: commit references a PR
Date: Fri,  1 Dec 2006 09:00:42 +0000 (UTC)

 ru          2006-12-01 09:00:38 UTC
 
   FreeBSD src repository
 
   Modified files:
     share/man/man4/man4.i386 acpi_ibm.4 
   Log:
   Add missing `;;' in the example shell code snippet.
   
   PR:             i386/106113
   Submitted by:   Richard Arends
   MFC after:      3 days
   
   Revision  Changes    Path
   1.15      +1 -0      src/share/man/man4/man4.i386/acpi_ibm.4
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: patched->closed 
State-Changed-By: ru 
State-Changed-When: Mon Dec 4 11:12:08 UTC 2006 
State-Changed-Why:  
Fix merged into RELENG_6. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=106113 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: i386/106113: commit references a PR
Date: Mon,  4 Dec 2006 11:13:28 +0000 (UTC)

 ru          2006-12-04 11:12:00 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_6)
     share/man/man4/man4.i386 acpi_ibm.4 
   Log:
   MFC: 1.15: Add missing `;;' in the example shell code snippet.
   
   PR:             i386/106113
   
   Revision  Changes    Path
   1.2.2.8   +1 -0      src/share/man/man4/man4.i386/acpi_ibm.4
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
