From: Karel Zak Date: Tue, 3 Feb 2009 09:22:07 +0000 (+0100) Subject: chrt: output buglet when reporting scheduling class X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c00cbbe97e7cf9cb640d62e5793cfcad44b1ae6;p=util-linux 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 --- diff --git a/schedutils/chrt.c b/schedutils/chrt.c index 4f186932..dcd05240 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;