Thread/Util: use __NR_ioprio_set instead of SYS_ioprio_set
Bionic doesn't have the SYS_* macros.
This commit is contained in:
		| @@ -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 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Max Kellermann
					Max Kellermann