summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2003-11-20 20:46:25 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2003-11-20 20:46:25 +0000
commit9544838d0b7c7e4b85e7255199f18d3ca9297173 (patch)
tree5bc374b86aedfd77817a9b81729e72cbbbe83c08
parent24c8345a5d97240621c62844d55916c66b5f9333 (diff)
correct prototype; nsops is unsigned
-rw-r--r--lib/libc/sys/semop.24
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/sys/semop.2 b/lib/libc/sys/semop.2
index 4527c21f3bc..f6928eb04b9 100644
--- a/lib/libc/sys/semop.2
+++ b/lib/libc/sys/semop.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: semop.2,v 1.11 2003/02/28 21:34:37 jmc Exp $
+.\" $OpenBSD: semop.2,v 1.12 2003/11/20 20:46:24 millert Exp $
.\" $NetBSD: semop.2,v 1.1 1995/10/16 23:49:28 jtc Exp $
.\"
.\" Copyright (c) 1995 Frank van der Linden
@@ -41,7 +41,7 @@
.Fd #include <sys/ipc.h>
.Fd #include <sys/sem.h>
.Ft int
-.Fn semop "int semid" "struct sembuf *sops" "int nsops"
+.Fn semop "int semid" "struct sembuf *sops" "u_int nsops"
.Sh DESCRIPTION
.Fn semop
provides a number of atomic operations on a set of semaphores.