Thread/Util: use __NR_ioprio_set instead of SYS_ioprio_set

Bionic doesn't have the SYS_* macros.
This commit is contained in:
Max Kellermann 2014-02-18 10:43:20 +01:00
parent 5eb468bce0
commit a0c25941a8

View File

@ -33,7 +33,7 @@
static int static int
ioprio_set(int which, int who, int ioprio) 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 static void