summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp43/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/sptests/sp43/init.c')
-rw-r--r--testsuites/sptests/sp43/init.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/testsuites/sptests/sp43/init.c b/testsuites/sptests/sp43/init.c
index b91b6f6de6..19c6c896b4 100644
--- a/testsuites/sptests/sp43/init.c
+++ b/testsuites/sptests/sp43/init.c
@@ -449,14 +449,16 @@ rtems_task Init(
* needs this. This is a "good" Id in that is it in range, but bad in
* that it has not been allocated so the local_table pointer is NULL.
*/
- puts( "rtems_semaphore_release - good but uncreated ID - INVALID_ID - OK" );
- sc = rtems_semaphore_release(
+ puts( "rtems_semaphore_obtain - good but uncreated ID - INVALID_ID - OK" );
+ sc = rtems_semaphore_obtain(
rtems_build_id(
OBJECTS_CLASSIC_API,
OBJECTS_RTEMS_SEMAPHORES,
1,
rtems_configuration_get_maximum_semaphores()
- )
+ ),
+ RTEMS_DEFAULT_OPTIONS,
+ 0
);
fatal_directive_status( sc, RTEMS_INVALID_ID, "rtems_semaphore_obtain" );