summaryrefslogtreecommitdiffstats
path: root/schedutils
diff options
context:
space:
mode:
Diffstat (limited to 'schedutils')
-rw-r--r--schedutils/chrt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/schedutils/chrt.c b/schedutils/chrt.c
index a861d9f75..73d1ffa9b 100644
--- a/schedutils/chrt.c
+++ b/schedutils/chrt.c
@@ -409,7 +409,7 @@ static void set_sched(struct chrt_ctl *ctl)
int main(int argc, char **argv)
{
- struct chrt_ctl _ctl = { .pid = -1 }, *ctl = &_ctl;
+ struct chrt_ctl _ctl = { .pid = -1, .policy = SCHED_RR }, *ctl = &_ctl;
int c;
static const struct option longopts[] = {