summaryrefslogtreecommitdiff
path: root/sys/kern/kern_resource.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2003-12-11 23:02:31 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2003-12-11 23:02:31 +0000
commitaaa928e4cff4b60cd813352d124af8477c807977 (patch)
tree707b38d5f66b102e7b31d662d445ce727382f7ee /sys/kern/kern_resource.c
parent59cbe93f72d84866d77fe36d4fd2311b152566d0 (diff)
Add id_t type as per POSIX and use it for [gs]etpriority(2).
OK henning@ and deraadt@
Diffstat (limited to 'sys/kern/kern_resource.c')
-rw-r--r--sys/kern/kern_resource.c6
1 files changed, 3 insertions, 3 deletions
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;