summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/syscalls.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/syscalls.c')
-rw-r--r--libc/sysdeps/linux/common/syscalls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/syscalls.c b/libc/sysdeps/linux/common/syscalls.c
index ee6de0d89..6b5261afb 100644
--- a/libc/sysdeps/linux/common/syscalls.c
+++ b/libc/sysdeps/linux/common/syscalls.c
@@ -660,13 +660,13 @@ _syscall3(int, fchown, int, fd, uid_t, owner, gid_t, group);
//#define __NR_getpriority 96
#ifdef L_getpriority
#include <sys/resource.h>
-_syscall2(int, getpriority, int, which, int, who);
+_syscall2(int, getpriority, __priority_which_t, which, id_t, who);
#endif
//#define __NR_setpriority 97
#ifdef L_setpriority
#include <sys/resource.h>
-_syscall3(int, setpriority, int, which, int, who, int, prio);
+_syscall3(int, setpriority, __priority_which_t, which, id_t, who, int, prio);
#endif
//#define __NR_profil 98