[rtems commit] mpci: Fix RTEMS_DEBUG support

Sebastian Huber sebh at rtems.org
Tue Mar 8 07:03:24 UTC 2022


Module:    rtems
Branch:    master
Commit:    709dfd49075a9c4d4a3e0937533b09a2480a5f15
Changeset: http://git.rtems.org/rtems/commit/?id=709dfd49075a9c4d4a3e0937533b09a2480a5f15

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Mar  8 08:12:29 2022 +0100

mpci: Fix RTEMS_DEBUG support

---

 cpukit/score/src/objectmp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpukit/score/src/objectmp.c b/cpukit/score/src/objectmp.c
index ef0028c..0a24bf5 100644
--- a/cpukit/score/src/objectmp.c
+++ b/cpukit/score/src/objectmp.c
@@ -354,7 +354,7 @@ Status_Control _Objects_MP_Global_name_search(
 
   if ( the_global_object != NULL ) {
     *the_id = the_global_object->id;
-    _Assert( the_global_object->name.name_u32 != 0 );
+    _Assert( the_global_object->name != 0 );
     status = STATUS_SUCCESSFUL;
   } else {
     status = STATUS_INVALID_NAME;



More information about the vc mailing list