From 85d91535a6bd93a3faae1d55d5390489f8e520c1 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 3 Feb 2009 10:22:07 +0100 Subject: [PATCH] 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 --- schedutils/chrt.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.39.5