summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/msync.2
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2007-02-26 07:44:06 +0000
committerotto <otto@openbsd.org>2007-02-26 07:44:06 +0000
commit89a87f4b47dbe688ac9e5862ba35184e903844fc (patch)
tree8752210f2c4a3e36dad0c41d7555d7176eae4ced /lib/libc/sys/msync.2
parentZero out struct before using, not after. (diff)
downloadwireguard-openbsd-89a87f4b47dbe688ac9e5862ba35184e903844fc.tar.xz
wireguard-openbsd-89a87f4b47dbe688ac9e5862ba35184e903844fc.zip
Now that the code is consistent, make the descriptions of EINVAL
consisten also. ok millert@ jmc@
Diffstat (limited to 'lib/libc/sys/msync.2')
-rw-r--r--lib/libc/sys/msync.28
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/libc/sys/msync.2 b/lib/libc/sys/msync.2
index 0cd6c44331c..00ea3f3329a 100644
--- a/lib/libc/sys/msync.2
+++ b/lib/libc/sys/msync.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: msync.2,v 1.19 2005/09/12 20:06:26 miod Exp $
+.\" $OpenBSD: msync.2,v 1.20 2007/02/26 07:44:06 otto Exp $
.\" $NetBSD: msync.2,v 1.8 1995/10/12 15:41:09 jtc Exp $
.\"
.\" Copyright (c) 1991, 1993
@@ -99,7 +99,11 @@ argument was invalid.
.It Bq Er EINVAL
The
.Fa addr
-parameter was not page aligned.
+parameter was not page aligned or
+.Fa addr
+and
+.Fa size
+specify a region that would extend beyond the end of the address space.
.It Bq Er ENOMEM
Addresses in the specified region are outside the range allowed
for the address space of the process, or specify one or more pages