about summary refs log tree commit diff
path: root/src/misc/setpriority.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc/setpriority.c')
-rw-r--r--src/misc/setpriority.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc/setpriority.c b/src/misc/setpriority.c
index 26da4b83..866b3b6e 100644
--- a/src/misc/setpriority.c
+++ b/src/misc/setpriority.c
@@ -3,5 +3,5 @@
 
 int setpriority(int which, id_t who, int prio)
 {
-	return syscall3(__NR_getpriority, which, who, prio);
+	return syscall(SYS_getpriority, which, who, prio);
 }