summaryrefslogtreecommitdiff
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 866b3b6e..3098cdf4 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 syscall(SYS_getpriority, which, who, prio);
+ return syscall(SYS_setpriority, which, who, prio);
}