fix typo in setpriority syscall wrapper
authorRich Felker <dalias@aerifal.cx>
Mon, 1 Apr 2013 15:20:12 +0000 (11:20 -0400)
committerRich Felker <dalias@aerifal.cx>
Mon, 1 Apr 2013 15:20:12 +0000 (11:20 -0400)
src/misc/setpriority.c

index 866b3b6edeee3716e344e14d85182521ac957ec1..3098cdf4d15f34b636f5104dba1ab0e6a5e91370 100644 (file)
@@ -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);
 }