Bug 157075

Summary: [patch] Use correct device names in gpioctl(8) man page
Product: Documentation Reporter: Henrik Brix Andersen <brix>
Component: Books & ArticlesAssignee: Benedict Reuschling <bcr>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
gpioctl.8.diff none

Description Henrik Brix Andersen freebsd_committer freebsd_triage 2011-05-15 22:40:08 UTC
The gpioctl(8) man page incorrectly lists the example device name as /dev/gpioctl0.  The correct name is /dev/gpioc0.

Fix: The following patch corrects the device name in the man page.
Comment 1 Benedict Reuschling freebsd_committer freebsd_triage 2011-05-25 21:16:39 UTC
Responsible Changed
From-To: freebsd-doc->bcf

Take this one.
Comment 2 dfilter service freebsd_committer freebsd_triage 2011-05-25 21:25:27 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"
Comment 3 Benedict Reuschling freebsd_committer freebsd_triage 2011-05-25 21:30:37 UTC
State Changed
From-To: open->closed

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. ;-) 


Comment 4 Benedict Reuschling freebsd_committer freebsd_triage 2011-05-25 21:30:37 UTC
Responsible Changed
From-To: bcf->bcr

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. ;-)