From 13bab346c528d1c4d459a8eabbc47656993601f1 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 23 Nov 2020 17:22:10 +0100 Subject: score: Return a status in _Objects_Set_name() --- testsuites/psxtests/psxobj01/init.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'testsuites/psxtests/psxobj01/init.c') diff --git a/testsuites/psxtests/psxobj01/init.c b/testsuites/psxtests/psxobj01/init.c index ba1e327ea5..fef749b3e9 100644 --- a/testsuites/psxtests/psxobj01/init.c +++ b/testsuites/psxtests/psxobj01/init.c @@ -37,7 +37,7 @@ static rtems_task Init( Objects_Control *the_object; char name[64]; size_t name_len; - bool bc; + Status_Control status; TEST_BEGIN(); @@ -70,12 +70,12 @@ static rtems_task Init( puts( "INIT - _Objects_Set_name fails - out of memory" ); rtems_workspace_greedy_allocate( NULL, 0 ); - bc = _Objects_Set_name( + status = _Objects_Set_name( &Test_Information, &_Thread_Get_executing()->Object, name ); - rtems_test_assert( bc == false ); + rtems_test_assert( status == STATUS_NO_MEMORY ); TEST_END(); rtems_test_exit(0); -- cgit v1.2.3