summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-05-05 18:39:13 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-05-05 18:39:13 +0000
commitdf70d51bc6bcedc9fe02c6df25ad71fe65a895e8 (patch)
tree48c473c7a8427537244204278928a4a09ecaceb9
parent0436208dcec70de4e056d27f7d20bef957c4968f (diff)
nsems must be > 0, not >= 0; Michael Knudsen
-rw-r--r--lib/libc/sys/semget.26
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/sys/semget.2 b/lib/libc/sys/semget.2
index 0e4d0a9cd93..f7450e92e1c 100644
--- a/lib/libc/sys/semget.2
+++ b/lib/libc/sys/semget.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: semget.2,v 1.11 2000/10/18 05:12:11 aaron Exp $
+.\" $OpenBSD: semget.2,v 1.12 2002/05/05 18:39:12 millert Exp $
.\" $NetBSD: semget.2,v 1.2 1997/03/27 08:20:41 mikel Exp $
.\"
.\" Copyright (c) 1995 Frank van der Linden
@@ -132,8 +132,8 @@ and a semaphore set is already associated with
.Fa key .
.It Bq Er EINVAL
.Va nsems
-is less than 0 or greater than the system limit for the number in a semaphore
-set.
+is less than or equal to 0 or greater than the system limit for the
+number in a semaphore set.
.Pp
A semaphore set associated with
.Fa key