aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man2/mprotect.22
1 files changed, 1 insertions, 1 deletions
diff --git a/man2/mprotect.2 b/man2/mprotect.2
index 8af7d3e8e6..da08367bae 100644
--- a/man2/mprotect.2
+++ b/man2/mprotect.2
@@ -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