summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2021-01-20 19:44:48 +0000
committerotto <otto@openbsd.org>2021-01-20 19:44:48 +0000
commit2e5c20414ff91e70d7dba4ec647a83703c5e31b2 (patch)
tree7af56cb12e83c5d62b7b6730d1c9e0b12e239249 /lib/libc
parentMake sure to enforce matching dstid as initiator. Use policy lookup (diff)
downloadwireguard-openbsd-2e5c20414ff91e70d7dba4ec647a83703c5e31b2.tar.xz
wireguard-openbsd-2e5c20414ff91e70d7dba4ec647a83703c5e31b2.zip
Missing return value; ok jmc@
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/mquery.25
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/sys/mquery.2 b/lib/libc/sys/mquery.2
index 4badae7cc27..ba87270f8c0 100644
--- a/lib/libc/sys/mquery.2
+++ b/lib/libc/sys/mquery.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mquery.2,v 1.11 2014/07/02 22:22:35 matthew Exp $
+.\" $OpenBSD: mquery.2,v 1.12 2021/01/20 19:44:48 otto Exp $
.\"
.\" Copyright (c) 2003 Artur Grabowski <art@openbsd.org>
.\" All rights reserved.
@@ -23,7 +23,7 @@
.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
.\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: July 2 2014 $
+.Dd $Mdocdate: January 20 2021 $
.Dt MQUERY 2
.Os
.Sh NAME
@@ -94,6 +94,7 @@ arguments.
When no such area can be found
.Fn mquery
will return
+.Dv MAP_FAILED
and set
.Va errno
to indicate the error.