diff options
author | 2010-07-10 20:40:34 +0000 | |
---|---|---|
committer | 2010-07-10 20:40:34 +0000 | |
commit | 346462c3b727c9b130b418ae4e700d1769add744 (patch) | |
tree | 7f1f23c33cb133fde44d1ebc6f510e5240de13ac | |
parent | No mention of compat_freebsd anymore. (diff) | |
download | wireguard-openbsd-346462c3b727c9b130b418ae4e700d1769add744.tar.xz wireguard-openbsd-346462c3b727c9b130b418ae4e700d1769add744.zip |
fields are incorrectly named in structure descriptions
"of course" deraadt@
-rw-r--r-- | share/man/man4/uhid.4 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/share/man/man4/uhid.4 b/share/man/man4/uhid.4 index 1d49be3746e..321c8c62e3d 100644 --- a/share/man/man4/uhid.4 +++ b/share/man/man4/uhid.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: uhid.4,v 1.15 2008/06/26 05:42:07 ray Exp $ +.\" $OpenBSD: uhid.4,v 1.16 2010/07/10 20:40:34 gilles Exp $ .\" $NetBSD: uhid.4,v 1.13 2001/12/29 14:41:59 augustss Exp $ .\" .\" Copyright (c) 1999, 2001 The NetBSD Foundation, Inc. @@ -28,7 +28,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: June 26 2008 $ +.Dd $Mdocdate: July 10 2010 $ .Dt UHID 4 .Os .Sh NAME @@ -55,8 +55,8 @@ the device can be found. The report descriptor is delivered without any processing. .Bd -literal struct usb_ctl_report_desc { - int size; - u_char data[1024]; /* filled data size will vary */ + int ucrd_size; + u_char ucrd_data[1024]; /* filled data size will vary */ }; .Ed .It Dv USB_SET_IMMED (int) @@ -82,8 +82,8 @@ or This call may fail if the device does not support this feature. .Bd -literal struct usb_ctl_report { - int report; - u_char data[1024]; /* used data size will vary */ + int ucr_report; + u_char ucr_data[1024]; /* used data size will vary */ }; .Ed .It Dv USB_SET_REPORT (struct usb_ctl_report) |