summaryrefslogtreecommitdiffstats
path: root/schedutils
diff options
context:
space:
mode:
authorRuediger Meier2016-02-24 12:29:48 +0100
committerKarel Zak2016-02-24 12:46:20 +0100
commit59e4a3827b3572c8c4b61cbcf77b38be137bfd78 (patch)
treebc5ba4b447e85587476a875271b7a5697ce37a53 /schedutils
parentlibsmartcols: fix relative column width for maxout (diff)
downloadkernel-qcow2-util-linux-59e4a3827b3572c8c4b61cbcf77b38be137bfd78.tar.gz
kernel-qcow2-util-linux-59e4a3827b3572c8c4b61cbcf77b38be137bfd78.tar.xz
kernel-qcow2-util-linux-59e4a3827b3572c8c4b61cbcf77b38be137bfd78.zip
chrt: fix case SCHED_RR
Looks like the logic was mistakenly changed in acde3a05. Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'schedutils')
-rw-r--r--schedutils/chrt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/schedutils/chrt.c b/schedutils/chrt.c
index 030be572d..84a6b3477 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