Thread/Util: use __NR_ioprio_set instead of SYS_ioprio_set
Bionic doesn't have the SYS_* macros.
This commit is contained in:
parent
5eb468bce0
commit
a0c25941a8
|
@ -33,7 +33,7 @@
|
|||
static int
|
||||
ioprio_set(int which, int who, int ioprio)
|
||||
{
|
||||
return syscall(SYS_ioprio_set, which, who, ioprio);
|
||||
return syscall(__NR_ioprio_set, which, who, ioprio);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue