diff options
Diffstat (limited to 'testsuites/psxtests/psxobj01/init.c')
-rw-r--r-- | testsuites/psxtests/psxobj01/init.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxobj01/init.c b/testsuites/psxtests/psxobj01/init.c index 8d3cdcb9a2..070b891023 100644 --- a/testsuites/psxtests/psxobj01/init.c +++ b/testsuites/psxtests/psxobj01/init.c @@ -16,7 +16,6 @@ #define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ #include <tmacros.h> -#include "test_support.h" rtems_task Init( rtems_task_argument ignored @@ -70,7 +69,7 @@ rtems_task Init( /* out of memory error ONLY when POSIX is enabled */ puts( "INIT - _Objects_Set_name fails - out of memory" ); - Allocate_majority_of_workspace( 1 ); + rtems_workspace_greedy_allocate( 0 ); bc = _Objects_Set_name( &TestClass, &_Thread_Executing->Object, name ); rtems_test_assert( bc == false ); |