mprotect.2: fix off-by-one error in a memory range

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Seonghun Lim 2011-09-08 16:58:27 +02:00 committed by Michael Kerrisk
parent f8e32007b0
commit da2336b314
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ Internal kernel structures could not be allocated.
.B ENOMEM
Addresses in the range
.RI [ addr ,
.IR addr + len ]
.IR addr + len \-1]
are invalid for the address space of the process,
or specify one or more pages that are not mapped.
(Before kernel 2.4.19, the error