summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spthreadq01/init.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-07-22 09:16:58 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-07-22 16:46:00 +0200
commitd7ce33f17ed3259c7864f25bdb49eaf9774464bf (patch)
tree93a811882705f050a04334ddf654362dd714a2e1 /testsuites/sptests/spthreadq01/init.c
parentposix: Use _Thread_Get_executing() (diff)
downloadrtems-d7ce33f17ed3259c7864f25bdb49eaf9774464bf.tar.bz2
testsuites: Use _Thread_Get_executing()
Diffstat (limited to 'testsuites/sptests/spthreadq01/init.c')
-rw-r--r--testsuites/sptests/spthreadq01/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/sptests/spthreadq01/init.c b/testsuites/sptests/spthreadq01/init.c
index e03efe6f06..cbe3652578 100644
--- a/testsuites/sptests/spthreadq01/init.c
+++ b/testsuites/sptests/spthreadq01/init.c
@@ -34,7 +34,7 @@ void threadq_first_empty(
_Thread_queue_Initialize( &tq, discipline, 0x01, 3 );
puts( "Init - _Thread_queue_Extract - thread not blocked on a thread queue" );
- _Thread_queue_Extract( &tq, _Thread_Executing );
+ _Thread_queue_Extract( &tq, _Thread_Get_executing() );
/* is there anything to check? */
}