diff options
author | 2007-02-26 07:44:06 +0000 | |
---|---|---|
committer | 2007-02-26 07:44:06 +0000 | |
commit | 89a87f4b47dbe688ac9e5862ba35184e903844fc (patch) | |
tree | 8752210f2c4a3e36dad0c41d7555d7176eae4ced /lib/libc/sys/munmap.2 | |
parent | Zero out struct before using, not after. (diff) | |
download | wireguard-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/munmap.2')
-rw-r--r-- | lib/libc/sys/munmap.2 | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/lib/libc/sys/munmap.2 b/lib/libc/sys/munmap.2 index f94445ce2f0..db12e682371 100644 --- a/lib/libc/sys/munmap.2 +++ b/lib/libc/sys/munmap.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: munmap.2,v 1.11 2003/11/11 20:58:34 jmc Exp $ +.\" $OpenBSD: munmap.2,v 1.12 2007/02/26 07:44:06 otto Exp $ .\" $NetBSD: munmap.2,v 1.5 1995/02/27 12:35:03 cgd Exp $ .\" .\" Copyright (c) 1991, 1993 @@ -62,10 +62,12 @@ will fail if: .It Bq Er EINVAL The .Fa addr -parameter was not page aligned, the -.Fa len -parameter was negative, or -some part of the region being unmapped is not part of the currently +parameter was not page aligned, +.Fa addr +and +.Fa size +specify a region that would extend beyond the end of the address space, +or some part of the region being unmapped is not part of the currently valid address space. .El .Sh SEE ALSO |