diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2001-09-13 14:07:15 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2001-09-13 14:07:15 +0000 |
commit | 7fb1f3ae79c4404d80a7698141837fe4f0804bb3 (patch) | |
tree | 1914e4482deebda95b486b4663b7c61a69f561fe | |
parent | 144f77f4b60003f1404c03ede7c5e9d9ab7990ef (diff) |
Change nsops to u_int to match prototype as discussed with millert@.
-rw-r--r-- | sys/kern/sysv_sem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/sysv_sem.c b/sys/kern/sysv_sem.c index a3bc7d80bf3..594b54136a2 100644 --- a/sys/kern/sysv_sem.c +++ b/sys/kern/sysv_sem.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sysv_sem.c,v 1.7 2001/09/13 13:55:08 fgsch Exp $ */ +/* $OpenBSD: sysv_sem.c,v 1.8 2001/09/13 14:07:14 fgsch Exp $ */ /* $NetBSD: sysv_sem.c,v 1.26 1996/02/09 19:00:25 christos Exp $ */ /* @@ -520,7 +520,7 @@ sys_semop(p, v, retval) syscallarg(u_int) nsops; } */ *uap = v; int semid = SCARG(uap, semid); - size_t nsops = SCARG(uap, nsops); + u_int nsops = SCARG(uap, nsops); struct sembuf sops[MAX_SOPS]; register struct semid_ds *semaptr; register struct sembuf *sopptr = NULL; |