summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/scheduleredfnodeinit.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/scheduleredfnodeinit.c')
-rw-r--r--cpukit/score/src/scheduleredfnodeinit.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/cpukit/score/src/scheduleredfnodeinit.c b/cpukit/score/src/scheduleredfnodeinit.c
index d290bd74fd..94f8facbe3 100644
--- a/cpukit/score/src/scheduleredfnodeinit.c
+++ b/cpukit/score/src/scheduleredfnodeinit.c
@@ -29,11 +29,9 @@ void _Scheduler_EDF_Node_initialize(
{
Scheduler_EDF_Node *the_node;
- (void) scheduler;
-
- _Scheduler_Node_do_initialize( node, the_thread, priority );
+ _Scheduler_Node_do_initialize( scheduler, node, the_thread, priority );
the_node = _Scheduler_EDF_Node_downcast( node );
- the_node->thread = the_thread;
_RBTree_Initialize_node( &the_node->Node );
+ the_node->priority = priority;
}