Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/sys len argument is of unsigned type (size_t) and t...
details: https://anonhg.NetBSD.org/src/rev/593119ae76e9
branches: trunk
changeset: 329608:593119ae76e9
user: njoly <njoly%NetBSD.org@localhost>
date: Fri May 30 16:11:01 2014 +0000
description:
len argument is of unsigned type (size_t) and thus cannot be negative;
remove corresponding statement in ERRORS.
diffstat:
lib/libc/sys/munmap.2 | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (20 lines):
diff -r eb8d09bd392e -r 593119ae76e9 lib/libc/sys/munmap.2
--- a/lib/libc/sys/munmap.2 Fri May 30 13:24:22 2014 +0000
+++ b/lib/libc/sys/munmap.2 Fri May 30 16:11:01 2014 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: munmap.2,v 1.20 2011/10/15 21:35:50 rmind Exp $
+.\" $NetBSD: munmap.2,v 1.21 2014/05/30 16:11:01 njoly Exp $
.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -62,9 +62,7 @@
.It Bq Er EINVAL
The
.Fa addr
-parameter was not page aligned, the
-.Fa len
-parameter was negative, or
+parameter was not page aligned, or
some part of the region being unmapped is outside the
valid address range for a process.
.El
Home |
Main Index |
Thread Index |
Old Index