Skip to content

Commit

Permalink
sched_rr_get_interval01: Use constant
Browse files Browse the repository at this point in the history
There was no reason to avoid using constant from the start.

Fixes: e0570fd ("syscalls/sched_rr_get_interval: Validate the timeslice")
Signed-off-by: Petr Vorel <pvorel@suse.cz>
  • Loading branch information
pevik committed Jul 18, 2023
1 parent 1d00f0f commit d616802
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ static void run(void)
}

if (proc_flag)
TST_ASSERT_INT("/proc/sys/kernel/sched_rr_timeslice_ms", tst_ts_to_ms(tp));
TST_ASSERT_INT(PROC_SCHED_RR_TIMESLICE_MS, tst_ts_to_ms(tp));
}

static struct tst_test test = {
Expand Down

0 comments on commit d616802

Please sign in to comment.