about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2013-04-01 11:20:12 -0400
committerRich Felker <dalias@aerifal.cx>2013-04-01 11:20:12 -0400
commit201e6603c3675e61eae5f548536ecd45a589f465 (patch)
tree1cbda3e2ec122086d5f16a52fa8e5d4272a2f987
parent0b2764d054c169c9abc8be8979ac3ea7a191c49e (diff)
downloadmusl-201e6603c3675e61eae5f548536ecd45a589f465.tar.gz
musl-201e6603c3675e61eae5f548536ecd45a589f465.tar.xz
musl-201e6603c3675e61eae5f548536ecd45a589f465.zip
fix typo in setpriority syscall wrapper
-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);
 }