summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxobj01/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxobj01/init.c')
-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 ***" );