summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2021-01-20 19:44:49 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2021-01-20 19:44:49 +0000
commit94f56aaf3a8b0e7c09cdc57acfbdbc50f1408afb (patch)
treef468ecff2a98f9c2bef152b2dd23fdeeb1d5e463
parent05e5bdaeef8a0ab19319111bd3d33a87e653f8cc (diff)
Missing return value; ok jmc@
-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.