Fix typos in preceding commit.

This commit is contained in:
Gregory Nutt 2019-09-10 10:06:36 -06:00
parent af685dfe81
commit 061dcaa226

View File

@ -124,7 +124,7 @@ int sched_rr_get_interval(pid_t pid, struct timespec *interval)
* scheduling.
*/
if (rrtcb->flags & TCB_FLAG_POLICY_MASK) == TCB_FLAG_SCHED_RR)
if ((rrtcb->flags & TCB_FLAG_POLICY_MASK) == TCB_FLAG_SCHED_RR)
{
/* Convert the timeslice value from ticks to a timespec */