Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 May 2011 23:36:44 +0200 (CEST)
From:      Henrik Brix Andersen <brix@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   docs/157075: [patch] Use correct device names in gpioctl(8) man page
Message-ID:  <20110515213644.CA75A1CC32@drpepper.brixandersen.dk>
Resent-Message-ID: <201105152140.p4FLe8EK097055@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         157075
>Category:       docs
>Synopsis:       [patch] Use correct device names in gpioctl(8) man page
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 15 21:40:08 UTC 2011
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110515213644.CA75A1CC32>