summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/include/rtems/rtems/messageimpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/rtems/include/rtems/rtems/messageimpl.h')
-rw-r--r--cpukit/rtems/include/rtems/rtems/messageimpl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/rtems/include/rtems/rtems/messageimpl.h b/cpukit/rtems/include/rtems/rtems/messageimpl.h
index 9c1da39975..df7cea6829 100644
--- a/cpukit/rtems/include/rtems/rtems/messageimpl.h
+++ b/cpukit/rtems/include/rtems/rtems/messageimpl.h
@@ -95,7 +95,7 @@ RTEMS_INLINE_ROUTINE Message_queue_Control *_Message_queue_Get(
_Thread_queue_Context_initialize( queue_context );
return (Message_queue_Control *) _Objects_Get(
id,
- &queue_context->Lock_context,
+ &queue_context->Lock_context.Lock_context,
&_Message_queue_Information
);
}