summaryrefslogtreecommitdiffstats
path: root/schedutils
diff options
context:
space:
mode:
authorKarel Zak2009-02-03 10:22:07 +0100
committerKarel Zak2009-02-03 10:22:07 +0100
commit6c00cbbe97e7cf9cb640d62e5793cfcad44b1ae6 (patch)
treed44028c8b71015f0d19965258ac1c18417511c80 /schedutils
parentionice: fix typo in manpage (diff)
downloadkernel-qcow2-util-linux-6c00cbbe97e7cf9cb640d62e5793cfcad44b1ae6.tar.gz
kernel-qcow2-util-linux-6c00cbbe97e7cf9cb640d62e5793cfcad44b1ae6.tar.xz
kernel-qcow2-util-linux-6c00cbbe97e7cf9cb640d62e5793cfcad44b1ae6.zip
chrt: output buglet when reporting scheduling class
% chrt -i 0 ./a.out & [1] 60479 % chrt -p 60479 pid 60479's current scheduling policy: SCHED_IDLE SCHED_RR pid 60479's current scheduling priority: 0 We have a spurious and incorrect SCHED_RR in there... Address-Red-Hat-Bugzilla: #483706 Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'schedutils')
-rw-r--r--schedutils/chrt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/schedutils/chrt.c b/schedutils/chrt.c
index 4f1869327..dcd052403 100644
--- a/schedutils/chrt.c
+++ b/schedutils/chrt.c
@@ -97,6 +97,7 @@ static void show_rt_info(const char *what, pid_t pid)
break;
case SCHED_IDLE:
printf("SCHED_IDLE\n");
+ break;
case SCHED_RR:
printf("SCHED_RR\n");
break;