From aaa928e4cff4b60cd813352d124af8477c807977 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Thu, 11 Dec 2003 23:02:31 +0000 Subject: Add id_t type as per POSIX and use it for [gs]etpriority(2). OK henning@ and deraadt@ --- sys/kern/kern_resource.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/kern/kern_resource.c') diff --git a/sys/kern/kern_resource.c b/sys/kern/kern_resource.c index 1eab6bddb54..1e868518989 100644 --- a/sys/kern/kern_resource.c +++ b/sys/kern/kern_resource.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_resource.c,v 1.25 2003/12/11 22:55:22 millert Exp $ */ +/* $OpenBSD: kern_resource.c,v 1.26 2003/12/11 23:02:30 millert Exp $ */ /* $NetBSD: kern_resource.c,v 1.38 1996/10/23 07:19:38 matthias Exp $ */ /*- @@ -68,7 +68,7 @@ sys_getpriority(curp, v, retval) { register struct sys_getpriority_args /* { syscallarg(int) which; - syscallarg(int) who; + syscallarg(id_t) who; } */ *uap = v; register struct proc *p; register int low = NZERO + PRIO_MAX + 1; @@ -126,7 +126,7 @@ sys_setpriority(curp, v, retval) { register struct sys_setpriority_args /* { syscallarg(int) which; - syscallarg(int) who; + syscallarg(id_t) who; syscallarg(int) prio; } */ *uap = v; register struct proc *p; -- cgit v1.2.3