From: Ruediger Meier <ruediger.meier@xxxxxxxxxxx> They got lost in acde3a05. Signed-off-by: Ruediger Meier <ruediger.meier@xxxxxxxxxxx> --- schedutils/chrt.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/schedutils/chrt.c b/schedutils/chrt.c index 84a6b34..363d6e1 100644 --- a/schedutils/chrt.c +++ b/schedutils/chrt.c @@ -168,14 +168,18 @@ static const char *get_policy_name(int policy) case SCHED_OTHER: return "SCHED_OTHER"; case SCHED_FIFO: +#ifdef SCHED_RESET_ON_FORK case SCHED_FIFO | SCHED_RESET_ON_FORK: +#endif return "SCHED_FIFO"; #ifdef SCHED_IDLE case SCHED_IDLE: return "SCHED_IDLE"; #endif case SCHED_RR: +#ifdef SCHED_RESET_ON_FORK case SCHED_RR | SCHED_RESET_ON_FORK: +#endif return "SCHED_RR"; #ifdef SCHED_BATCH case SCHED_BATCH: -- 1.8.4.5 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html