summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/monitor
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/libmisc/monitor
parentrtems: Move MrsP semaphore operations (diff)
downloadrtems-73f2ddb9157ba04531e0a825a8532a280e6a05e5.tar.bz2
rtems: Fix semaphore field name
Diffstat (limited to 'cpukit/libmisc/monitor')
-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;
}