global cleanup to use the new syscall interface
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user