summaryrefslogtreecommitdiff
path: root/lib/libc/sys
diff options
context:
space:
mode:
authorrtr <rtr@NetBSD.org>2006-03-25 01:24:28 +0000
committerrtr <rtr@NetBSD.org>2006-03-25 01:24:28 +0000
commit6f6a761f7f4ced53dd3b7fed014ca0fdda7bb5f7 (patch)
tree069e8c5bae632208173b43106145ed1ae51a4178 /lib/libc/sys
parente42519688ec0bbb0de3c138539e27b8cf07c6aa6 (diff)
Remove "len was less than zero" from the list of reasons that the function
will fail with EINVAL since the len param is size_t and couldn't possibly be "less than zero". Resolves pr32516
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/mmap.24
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libc/sys/mmap.2 b/lib/libc/sys/mmap.2
index e6a080eab65..ac35951acc6 100644
--- a/lib/libc/sys/mmap.2
+++ b/lib/libc/sys/mmap.2
@@ -1,4 +1,4 @@
-.\" $NetBSD: mmap.2,v 1.37 2004/10/04 18:14:48 perry Exp $
+.\" $NetBSD: mmap.2,v 1.38 2006/03/25 01:24:28 rtr Exp $
.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -259,8 +259,6 @@ valid address range for a process.
.Dv MAP_ANON was specified and
.Fa fd
was not \-1.
-.Fa len
-was less than zero.
.It Bq Er ENODEV
.Fa fd
did not reference a regular or character special file.