summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxobj01
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/psxtests/psxobj01
parentposix: Use _Thread_Get_executing() (diff)
downloadrtems-d7ce33f17ed3259c7864f25bdb49eaf9774464bf.tar.bz2
testsuites: Use _Thread_Get_executing()
Diffstat (limited to 'testsuites/psxtests/psxobj01')
-rw-r--r--testsuites/psxtests/psxobj01/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/psxtests/psxobj01/init.c b/testsuites/psxtests/psxobj01/init.c
index 3f639da80a..6bddee753b 100644
--- a/testsuites/psxtests/psxobj01/init.c
+++ b/testsuites/psxtests/psxobj01/init.c
@@ -76,7 +76,7 @@ rtems_task Init(
puts( "INIT - _Objects_Set_name fails - out of memory" );
rtems_workspace_greedy_allocate( NULL, 0 );
- bc = _Objects_Set_name( &TestClass, &_Thread_Executing->Object, name );
+ bc = _Objects_Set_name( &TestClass, &_Thread_Get_executing()->Object, name );
rtems_test_assert( bc == false );
puts( "*** END OF POSIX OBJECT TEST 1 ***" );