Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/sys Remove error condition for negative length para...
details: https://anonhg.NetBSD.org/src/rev/2659cccc19a9
branches: trunk
changeset: 329119:2659cccc19a9
user: njoly <njoly%NetBSD.org@localhost>
date: Fri May 09 17:25:11 2014 +0000
description:
Remove error condition for negative length parameter; the
corresponding type is unsigned (size_t) and thus the value cannot be
negative.
diffstat:
lib/libc/sys/msync.2 | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
diffs (29 lines):
diff -r 0451b52e2c24 -r 2659cccc19a9 lib/libc/sys/msync.2
--- a/lib/libc/sys/msync.2 Fri May 09 14:51:26 2014 +0000
+++ b/lib/libc/sys/msync.2 Fri May 09 17:25:11 2014 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index