Module Name: src
Committed By: njoly
Date: Fri May 9 17:25:11 UTC 2014
Modified Files:
src/lib/libc/sys: msync.2
Log Message:
Remove error condition for negative length parameter; the
corresponding type is unsigned (size_t) and thus the value cannot be
negative.
To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/lib/libc/sys/msync.2
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/sys/msync.2
diff -u src/lib/libc/sys/msync.2:1.24 src/lib/libc/sys/msync.2:1.25
--- src/lib/libc/sys/msync.2:1.24 Sat Oct 15 21:35:50 2011
+++ src/lib/libc/sys/msync.2 Fri May 9 17:25:11 2014
@@ -1,4 +1,4 @@
-.\" $NetBSD: msync.2,v 1.24 2011/10/15 21:35:50 rmind Exp $
+.\" $NetBSD: msync.2,v 1.25 2014/05/09 17:25:11 njoly Exp $
.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)msync.2 8.2 (Berkeley) 6/21/94
.\"
-.Dd October 17, 2005
+.Dd May 9, 2014
.Dt MSYNC 2
.Os
.Sh NAME
@@ -105,10 +105,6 @@ parameter was not page aligned.
The
.Fa addr
parameter did not specify an address part of a mapped region.
-.It Bq Er EINVAL
-The
-.Fa len
-parameter was negative.
.It Bq Er EIO
An I/O error occurred while writing to the file system.
.It Bq Er ENOMEM