summaryrefslogtreecommitdiff
path: root/cpukit/libmisc/monitor/mon-sema.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libmisc/monitor/mon-sema.c')
-rw-r--r--cpukit/libmisc/monitor/mon-sema.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libmisc/monitor/mon-sema.c b/cpukit/libmisc/monitor/mon-sema.c
index 3ec5e374a8..272391f01e 100644
--- a/cpukit/libmisc/monitor/mon-sema.c
+++ b/cpukit/libmisc/monitor/mon-sema.c
@@ -87,11 +87,11 @@ rtems_monitor_sema_canonical(
break;
#endif
case SEMAPHORE_VARIANT_SIMPLE_BINARY:
- canonical_sema->cur_count = rtems_sema->Core_control.semaphore.count;
+ canonical_sema->cur_count = rtems_sema->Core_control.Semaphore.count;
canonical_sema->max_count = 1;
break;
case SEMAPHORE_VARIANT_COUNTING:
- canonical_sema->cur_count = rtems_sema->Core_control.semaphore.count;
+ canonical_sema->cur_count = rtems_sema->Core_control.Semaphore.count;
canonical_sema->max_count = UINT32_MAX;
break;
}