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=85d91535a6bd93a3faae1d55d5390489f8e520c1;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 92985c6e..1a2d05ae 100644 --- a/schedutils/chrt.c +++ b/schedutils/chrt.c @@ -99,6 +99,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;