diff options
Diffstat (limited to 'cpukit/libmisc/monitor/mon-sema.c')
-rw-r--r-- | cpukit/libmisc/monitor/mon-sema.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libmisc/monitor/mon-sema.c b/cpukit/libmisc/monitor/mon-sema.c index 7334611465..3dc7172501 100644 --- a/cpukit/libmisc/monitor/mon-sema.c +++ b/cpukit/libmisc/monitor/mon-sema.c @@ -84,7 +84,7 @@ rtems_monitor_sema_canonical( #if defined(RTEMS_SMP) case SEMAPHORE_VARIANT_MRSP: canonical_sema->cur_count = - rtems_sema->Core_control.MRSP.Resource.owner == NULL; + _MRSP_Get_owner( &rtems_sema->Core_control.MRSP ) == NULL; canonical_sema->max_count = 1; break; #endif |