From: Ruediger Meier <ruediger.meier@xxxxxxxxxxx> Looks like the logic was mistakenly changed in acde3a05. Signed-off-by: Ruediger Meier <ruediger.meier@xxxxxxxxxxx> --- schedutils/chrt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schedutils/chrt.c b/schedutils/chrt.c index 030be57..84a6b34 100644 --- a/schedutils/chrt.c +++ b/schedutils/chrt.c @@ -175,10 +175,10 @@ static const char *get_policy_name(int policy) return "SCHED_IDLE"; #endif case SCHED_RR: + case SCHED_RR | SCHED_RESET_ON_FORK: return "SCHED_RR"; #ifdef SCHED_BATCH case SCHED_BATCH: - case SCHED_RR | SCHED_RESET_ON_FORK: return "SCHED_BATCH"; #endif #ifdef SCHED_DEADLINE -- 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