diff options
| -rw-r--r-- | litmus/edf_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/litmus/edf_common.c b/litmus/edf_common.c index 52205df3ea8b..bfd3533e8965 100644 --- a/litmus/edf_common.c +++ b/litmus/edf_common.c | |||
| @@ -157,7 +157,7 @@ int edf_higher_prio(struct task_struct* first, | |||
| 157 | /* If the PIDs are the same then the task with the | 157 | /* If the PIDs are the same then the task with the |
| 158 | * inherited priority wins. | 158 | * inherited priority wins. |
| 159 | */ | 159 | */ |
| 160 | if (!second_task->rt_param.inh_task) { | 160 | if (!second->rt_param.inh_task) { |
| 161 | return 1; | 161 | return 1; |
| 162 | } | 162 | } |
| 163 | } | 163 | } |
