summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/src/msgqconstruct.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-01-28 09:48:21 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-01-28 09:58:03 +0100
commitfcbefb5ee6dd2afa10460d4f91fae28c6ef57bf1 (patch)
tree22e3b642d326ba6da7e423673a3a93ee33a696c1 /cpukit/rtems/src/msgqconstruct.c
parentbsps: Replace bsp_specs with an empty file (diff)
downloadrtems-fcbefb5ee6dd2afa10460d4f91fae28c6ef57bf1.tar.bz2
rtems: Use _Status_Get()
This fixes implicit conversions between different enum types.
Diffstat (limited to 'cpukit/rtems/src/msgqconstruct.c')
-rw-r--r--cpukit/rtems/src/msgqconstruct.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/rtems/src/msgqconstruct.c b/cpukit/rtems/src/msgqconstruct.c
index af5849b0aa..a8a50e9aa1 100644
--- a/cpukit/rtems/src/msgqconstruct.c
+++ b/cpukit/rtems/src/msgqconstruct.c
@@ -22,6 +22,7 @@
#include <rtems/rtems/messageimpl.h>
#include <rtems/rtems/attrimpl.h>
+#include <rtems/rtems/statusimpl.h>
#include <rtems/rtems/support.h>
#include <rtems/score/coremsgimpl.h>
#include <rtems/sysinit.h>
@@ -154,7 +155,7 @@ rtems_status_code _Message_queue_Create(
_Message_queue_Free( the_message_queue );
_Objects_Allocator_unlock();
- return STATUS_GET_CLASSIC( status );
+ return _Status_Get( status );
}
_Objects_Open(