summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/getpeername.2
diff options
context:
space:
mode:
authorjaredy <jaredy@openbsd.org>2005-10-19 18:27:05 +0000
committerjaredy <jaredy@openbsd.org>2005-10-19 18:27:05 +0000
commit1e77a8acb65c1fd26f7e66b18e27b7afa8044f9c (patch)
tree7b0d720821104596b2559af6f3e0087c0ba6f18d /lib/libc/sys/getpeername.2
parentregen (diff)
downloadwireguard-openbsd-1e77a8acb65c1fd26f7e66b18e27b7afa8044f9c.tar.xz
wireguard-openbsd-1e77a8acb65c1fd26f7e66b18e27b7afa8044f9c.zip
EFAULT corrections; ok millert and otto
Diffstat (limited to 'lib/libc/sys/getpeername.2')
-rw-r--r--lib/libc/sys/getpeername.24
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/sys/getpeername.2 b/lib/libc/sys/getpeername.2
index 31ea1d3eff3..aece8a2d5d2 100644
--- a/lib/libc/sys/getpeername.2
+++ b/lib/libc/sys/getpeername.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getpeername.2,v 1.20 2003/06/02 20:18:39 millert Exp $
+.\" $OpenBSD: getpeername.2,v 1.21 2005/10/19 18:27:05 jaredy Exp $
.\" $NetBSD: getpeername.2,v 1.6 1995/10/12 15:40:56 jtc Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -121,6 +121,8 @@ to perform the operation.
.It Bq Er EFAULT
The
.Fa name
+or
+.Fa namelen
parameter points to memory not in a valid part of the
process address space.
.El