summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2003-11-20 20:46:24 +0000
committermillert <millert@openbsd.org>2003-11-20 20:46:24 +0000
commit9b9a61c1e443e64f9632609de0ea9df8009368be (patch)
tree33005dd9dff560092177f948e8cd9ff1e1cae9a2
parentSync comments with NetBSD. (diff)
downloadwireguard-openbsd-9b9a61c1e443e64f9632609de0ea9df8009368be.tar.xz
wireguard-openbsd-9b9a61c1e443e64f9632609de0ea9df8009368be.zip
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.