diff options
Diffstat (limited to 'schedutils')
-rw-r--r-- | schedutils/chrt.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/schedutils/chrt.c b/schedutils/chrt.c index 0a51c1088..a861d9f75 100644 --- a/schedutils/chrt.c +++ b/schedutils/chrt.c @@ -239,13 +239,14 @@ static void show_sched_pid_info(struct chrt_ctl *ctl, pid_t pid) runtime = sa.sched_runtime; period = sa.sched_period; } -#endif /* * Old way */ fallback: - if (errno == ENOSYS) { + if (errno == ENOSYS) +#endif + { struct sched_param sp; policy = sched_getscheduler(pid); |