From a0c25941a83ba7e558fccbba4a1cb4bda90d4863 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 18 Feb 2014 10:43:20 +0100 Subject: Thread/Util: use __NR_ioprio_set instead of SYS_ioprio_set Bionic doesn't have the SYS_* macros. --- src/thread/Util.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3