From 6c00cbbe97e7cf9cb640d62e5793cfcad44b1ae6 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 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; -- 2.39.5