From 73f2ddb9157ba04531e0a825a8532a280e6a05e5 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 30 May 2016 10:43:31 +0200 Subject: rtems: Fix semaphore field name --- cpukit/rtems/src/semrelease.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpukit/rtems/src/semrelease.c') diff --git a/cpukit/rtems/src/semrelease.c b/cpukit/rtems/src/semrelease.c index 3d8a7233f7..ccd4e63d64 100644 --- a/cpukit/rtems/src/semrelease.c +++ b/cpukit/rtems/src/semrelease.c @@ -73,7 +73,7 @@ rtems_status_code rtems_semaphore_release( rtems_id id ) break; case SEMAPHORE_VARIANT_SIMPLE_BINARY: status = _CORE_semaphore_Surrender( - &the_semaphore->Core_control.semaphore, + &the_semaphore->Core_control.Semaphore, _Semaphore_Get_operations( the_semaphore ), 1, &queue_context @@ -96,7 +96,7 @@ rtems_status_code rtems_semaphore_release( rtems_id id ) default: _Assert( the_semaphore->variant == SEMAPHORE_VARIANT_COUNTING ); status = _CORE_semaphore_Surrender( - &the_semaphore->Core_control.semaphore, + &the_semaphore->Core_control.Semaphore, _Semaphore_Get_operations( the_semaphore ), UINT32_MAX, &queue_context -- cgit v1.2.3