summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authormglocker <mglocker@openbsd.org>2021-01-27 17:28:19 +0000
committermglocker <mglocker@openbsd.org>2021-01-27 17:28:19 +0000
commitf24761612bf58e5bc210e13dab4750bb85c26a63 (patch)
tree6e36579f9d62851c199edd1b50ff66292c984ea9 /share
parentPromote nrules/maxrules to size_t and make sure they can't overflow. (diff)
downloadwireguard-openbsd-f24761612bf58e5bc210e13dab4750bb85c26a63.tar.xz
wireguard-openbsd-f24761612bf58e5bc210e13dab4750bb85c26a63.zip
The usb configuration descriptor parameter providing the number of
available device interfaces is called 'bNumInterfaces'. ok phessler@, thfr@ (who provided the man page diff)
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/ugen.46
1 files changed, 3 insertions, 3 deletions
diff --git a/share/man/man4/ugen.4 b/share/man/man4/ugen.4
index b4da46e73ca..b588167a1c8 100644
--- a/share/man/man4/ugen.4
+++ b/share/man/man4/ugen.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ugen.4,v 1.17 2016/05/24 05:47:16 mpi Exp $
+.\" $OpenBSD: ugen.4,v 1.18 2021/01/27 17:28:19 mglocker Exp $
.\" $NetBSD: ugen.4,v 1.7 1999/07/30 01:32:05 augustss Exp $
.\"
.\" Copyright (c) 1999 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: May 24 2016 $
+.Dd $Mdocdate: January 27 2021 $
.Dt UGEN 4
.Os
.Sh NAME
@@ -259,7 +259,7 @@ All endpoints (except the control endpoint) for the current configuration
can be found by iterating the
.Fa interface_index
from 0 to
-.Fa config_desc->bNumInterface-1
+.Fa config_desc->bNumInterfaces-1
and for each of these iterating the
.Fa endpoint_index
from 0 to