[rtems commit] score: Fix warning

Sebastian Huber sebh at rtems.org
Wed Nov 4 06:53:39 UTC 2015


Module:    rtems
Branch:    master
Commit:    eab538cf9e6c16f3ff902bf340ed0111d58fc35b
Changeset: http://git.rtems.org/rtems/commit/?id=eab538cf9e6c16f3ff902bf340ed0111d58fc35b

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Wed Nov  4 07:39:45 2015 +0100

score: Fix warning

Close #2454.

---

 cpukit/score/src/threadqops.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpukit/score/src/threadqops.c b/cpukit/score/src/threadqops.c
index 7b01779..5a82aaa 100644
--- a/cpukit/score/src/threadqops.c
+++ b/cpukit/score/src/threadqops.c
@@ -199,7 +199,7 @@ static void _Thread_queue_Priority_do_initialize(
 #if defined(RTEMS_SMP)
   _Chain_Initialize_empty( &heads->Heads.Fifo );
 #else
-  _RBTree_Initialize_empty( &heads->Heads.Priority );
+  _RBTree_Initialize_empty( &heads->Heads.Priority.Queue );
 #endif
 }
 



More information about the vc mailing list