diff options
-rw-r--r-- | litmus/litmus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/litmus/litmus.c b/litmus/litmus.c index 19de1201d964..81384327e850 100644 --- a/litmus/litmus.c +++ b/litmus/litmus.c | |||
@@ -327,7 +327,7 @@ long litmus_admit_task(struct task_struct* tsk) | |||
327 | 327 | ||
328 | if (get_rt_relative_deadline(tsk) == 0 || | 328 | if (get_rt_relative_deadline(tsk) == 0 || |
329 | get_exec_cost(tsk) > | 329 | get_exec_cost(tsk) > |
330 | min(get_rt_relative_deadline(tsk), get_period(tsk)) ) { | 330 | min(get_rt_relative_deadline(tsk), get_rt_period(tsk)) ) { |
331 | TRACE_TASK(tsk, | 331 | TRACE_TASK(tsk, |
332 | "litmus admit: invalid task parameters " | 332 | "litmus admit: invalid task parameters " |
333 | "(e = %lu, p = %lu, d = %lu)\n", | 333 | "(e = %lu, p = %lu, d = %lu)\n", |