diff options
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 |