aboutsummaryrefslogtreecommitdiff
path: root/toys/other/ionice.c
AgeCommit message (Collapse)Author
2019-12-28Cleanup: use FLAG() macros and new argument variable names.Rob Landley
2016-01-05Add error_msg_raw() and friends, replace error_msg("%s", s) uses, enable formatRob Landley
checking, and fix up format checking complaints. Added out(type, value) function to stat to avoid a zillion printf typecasts.
2015-08-14Fix ionice default class.Elliott Hughes
2015-07-08Fix ionice.Elliott Hughes
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.
2015-06-28Add ionice and iorenice.Rob Landley