diff options
author | Max Kellermann <max@duempel.org> | 2014-02-18 10:43:20 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-02-18 10:44:18 +0100 |
commit | a0c25941a83ba7e558fccbba4a1cb4bda90d4863 (patch) | |
tree | 034e321a05029888bd0b7bdfc47e77de03f60991 /src/thread | |
parent | 5eb468bce0881d746c7107f6cb226a8c5b9dbc9d (diff) | |
download | mpd-a0c25941a83ba7e558fccbba4a1cb4bda90d4863.tar.gz mpd-a0c25941a83ba7e558fccbba4a1cb4bda90d4863.tar.xz mpd-a0c25941a83ba7e558fccbba4a1cb4bda90d4863.zip |
Thread/Util: use __NR_ioprio_set instead of SYS_ioprio_set
Bionic doesn't have the SYS_* macros.
Diffstat (limited to 'src/thread')
-rw-r--r-- | src/thread/Util.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread/Util.hxx b/src/thread/Util.hxx index 62c5c6c2f..30c2f6200 100644 --- a/src/thread/Util.hxx +++ b/src/thread/Util.hxx @@ -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 |