Commit a0c25941 authored by Max Kellermann's avatar Max Kellermann

Thread/Util: use __NR_ioprio_set instead of SYS_ioprio_set

Bionic doesn't have the SYS_* macros.
parent 5eb468bc
...@@ -33,7 +33,7 @@ ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment