summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/src/semcreate.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-05-30 10:43:31 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-05-30 16:16:24 +0200
commit73f2ddb9157ba04531e0a825a8532a280e6a05e5 (patch)
tree652b0e46134b0ce545e12b53b2b42fe1f93ceeeb /cpukit/rtems/src/semcreate.c
parentrtems: Move MrsP semaphore operations (diff)
downloadrtems-73f2ddb9157ba04531e0a825a8532a280e6a05e5.tar.bz2
rtems: Fix semaphore field name
Diffstat (limited to 'cpukit/rtems/src/semcreate.c')
-rw-r--r--cpukit/rtems/src/semcreate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/rtems/src/semcreate.c b/cpukit/rtems/src/semcreate.c
index be72874e59..b65a442694 100644
--- a/cpukit/rtems/src/semcreate.c
+++ b/cpukit/rtems/src/semcreate.c
@@ -147,14 +147,14 @@ rtems_status_code rtems_semaphore_create(
if ( _Attributes_Is_counting_semaphore( attribute_set ) ) {
the_semaphore->variant = SEMAPHORE_VARIANT_COUNTING;
_CORE_semaphore_Initialize(
- &the_semaphore->Core_control.semaphore,
+ &the_semaphore->Core_control.Semaphore,
count
);
status = STATUS_SUCCESSFUL;
} else if ( _Attributes_Is_simple_binary_semaphore( attribute_set ) ) {
the_semaphore->variant = SEMAPHORE_VARIANT_SIMPLE_BINARY;
_CORE_semaphore_Initialize(
- &the_semaphore->Core_control.semaphore,
+ &the_semaphore->Core_control.Semaphore,
count != 0
);
status = STATUS_SUCCESSFUL;