From brix@drpepper.brixandersen.dk  Sun May 15 21:36:46 2011
Return-Path: <brix@drpepper.brixandersen.dk>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id A3D051065675
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 15 May 2011 21:36:46 +0000 (UTC)
	(envelope-from brix@drpepper.brixandersen.dk)
Received: from solow.pil.dk (relay.pil.dk [195.41.47.164])
	by mx1.freebsd.org (Postfix) with ESMTP id 3302D8FC14
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 15 May 2011 21:36:46 +0000 (UTC)
Received: from drpepper.brixandersen.dk (0x55534f5f.adsl.cybercity.dk [85.83.79.95])
	by solow.pil.dk (Postfix) with ESMTPA id 265281CC010
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 15 May 2011 23:36:45 +0200 (CEST)
Received: by drpepper.brixandersen.dk (Postfix, from userid 1001)
	id CA75A1CC32; Sun, 15 May 2011 23:36:44 +0200 (CEST)
Message-Id: <20110515213644.CA75A1CC32@drpepper.brixandersen.dk>
Date: Sun, 15 May 2011 23:36:44 +0200 (CEST)
From: Henrik Brix Andersen <brix@FreeBSD.org>
Reply-To: Henrik Brix Andersen <brix@FreeBSD.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [patch] Use correct device names in gpioctl(8) man page
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         157075
>Category:       docs
>Synopsis:       [patch] Use correct device names in gpioctl(8) man page
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bcr
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 15 21:40:08 UTC 2011
>Closed-Date:    Wed May 25 20:36:17 UTC 2011
>Last-Modified:  Wed May 25 20:36:17 UTC 2011
>Originator:     Henrik Brix Andersen
>Release:        FreeBSD 9.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD drpepper.brixandersen.dk 9.0-CURRENT FreeBSD 9.0-CURRENT #3 r221961: Sun May 15 17:11:34 CEST 2011 root@drpepper.brixandersen.dk:/usr/obj/usr/home/brix/projects/freebsd/src/head/sys/GENERIC i386


	
>Description:
The gpioctl(8) man page incorrectly lists the example device name as /dev/gpioctl0.  The correct name is /dev/gpioc0.

>How-To-Repeat:
	
>Fix:
The following patch corrects the device name in the man page.
	

--- gpioctl.8.diff begins here ---
Index: usr.sbin/gpioctl/gpioctl.8
===================================================================
--- usr.sbin/gpioctl/gpioctl.8	(revision 221961)
+++ usr.sbin/gpioctl/gpioctl.8	(working copy)
@@ -27,7 +27,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd September 27, 2010
+.Dd May 15, 2011
 .Dt GPIOCTL 1
 .Os
 .Sh NAME
@@ -93,17 +93,17 @@
 .Sh EXAMPLES
 .Bl -bullet
 .It
-List pins available on GPIO controller defined by device /dev/gpioctl0
+List pins available on GPIO controller defined by device /dev/gpioc0
 .Pp
-gpioctl -f /dev/gpioctl0 -l
+gpioctl -f /dev/gpioc0 -l
 .It
 Set the value of pin 12 to 1
 .Pp
-gpioctl -f /dev/gpioctl0 12 1
+gpioctl -f /dev/gpioc0 12 1
 .It
 Configure pin 12 to be input pin
 .Pp
-gpioctl -f /dev/gpioctl0 -c 12 IN
+gpioctl -f /dev/gpioc0 -c 12 IN
 .El
 .Sh HISTORY
 The
--- gpioctl.8.diff ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-doc->bcf 
Responsible-Changed-By: bcr 
Responsible-Changed-When: Wed May 25 20:16:39 UTC 2011 
Responsible-Changed-Why:  
Take this one. 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/157075: commit references a PR
Date: Wed, 25 May 2011 20:25:27 +0000 (UTC)

 Author: bcr (doc committer)
 Date: Wed May 25 20:25:13 2011
 New Revision: 222288
 URL: http://svn.freebsd.org/changeset/base/222288
 
 Log:
   Document the device name change from gpioctl to gpioc in the
   man page.
   
   PR:		docs/157075
   Submitted by:	brix
   Reviewed by:	gonzo
 
 Modified:
   head/usr.sbin/gpioctl/gpioctl.8
 
 Modified: head/usr.sbin/gpioctl/gpioctl.8
 ==============================================================================
 --- head/usr.sbin/gpioctl/gpioctl.8	Wed May 25 18:04:11 2011	(r222287)
 +++ head/usr.sbin/gpioctl/gpioctl.8	Wed May 25 20:25:13 2011	(r222288)
 @@ -27,7 +27,7 @@
  .\"
  .\" $FreeBSD$
  .\"
 -.Dd September 27, 2010
 +.Dd May 15, 2011
  .Dt GPIOCTL 1
  .Os
  .Sh NAME
 @@ -93,17 +93,17 @@ be verbose: for each listed pin print cu
  .Sh EXAMPLES
  .Bl -bullet
  .It
 -List pins available on GPIO controller defined by device /dev/gpioctl0
 +List pins available on GPIO controller defined by device /dev/gpioc0
  .Pp
 -gpioctl -f /dev/gpioctl0 -l
 +gpioctl -f /dev/gpioc0 -l
  .It
  Set the value of pin 12 to 1
  .Pp
 -gpioctl -f /dev/gpioctl0 12 1
 +gpioctl -f /dev/gpioc0 12 1
  .It
  Configure pin 12 to be input pin
  .Pp
 -gpioctl -f /dev/gpioctl0 -c 12 IN
 +gpioctl -f /dev/gpioc0 -c 12 IN
  .El
  .Sh HISTORY
  The
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: bcr 
State-Changed-When: Wed May 25 20:30:37 UTC 2011 
State-Changed-Why:  
The patch committed to HEAD without modifications. No MFC, as this tool is 
currently not available in STABLE. Thanks for submitting the patch!  
Take this chance to correct my FreeBSD name in the assignee field before 
closing this PR. ;-) 


Responsible-Changed-From-To: bcf->bcr 
Responsible-Changed-By: bcr 
Responsible-Changed-When: Wed May 25 20:30:37 UTC 2011 
Responsible-Changed-Why:  
The patch committed to HEAD without modifications. No MFC, as this tool is 
currently not available in STABLE. Thanks for submitting the patch!  
Take this chance to correct my FreeBSD name in the assignee field before 
closing this PR. ;-) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=157075 
>Unformatted:
