global cleanup to use the new syscall interface

This commit is contained in:
Rich Felker
2011-03-20 00:16:43 -04:00
parent be82e122bf
commit aa398f56fa
160 changed files with 180 additions and 238 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
int getpriority(int which, id_t who)
{
int ret = syscall2(__NR_getpriority, which, who);
int ret = syscall(SYS_getpriority, which, who);
if (ret < 0) return ret;
return 20-ret;
}