diff options
author | Elliott Hughes <enh@google.com> | 2015-07-08 02:32:57 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2015-07-08 02:32:57 -0500 |
commit | 29b0a2e823e2b451e793b9cd891107d4daec3864 (patch) | |
tree | d84e74236ed1194c7274d2e4d447074b71213cfd /toys/other/taskset.c | |
parent | 3487bd353b4448bbdc9ece6d62fc4c4f4fd6ae4a (diff) | |
download | toybox-29b0a2e823e2b451e793b9cd891107d4daec3864.tar.gz |
Fix ionice.
ioprio_set takes a "prio" argument that combines class and level. Although
bionic (via the uapi headers) includes the appropriate constants and even
a convenience macro, glibc doesn't, so just hard-code the encoding.
Also fix the sense of a conditional so we actually execute the provided
command.
Diffstat (limited to 'toys/other/taskset.c')
0 files changed, 0 insertions, 0 deletions