diff options
Diffstat (limited to 'cpukit/score/macros/rtems/score/object.inl')
-rw-r--r-- | cpukit/score/macros/rtems/score/object.inl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/score/macros/rtems/score/object.inl b/cpukit/score/macros/rtems/score/object.inl index 6bd7765319..10721497f2 100644 --- a/cpukit/score/macros/rtems/score/object.inl +++ b/cpukit/score/macros/rtems/score/object.inl @@ -152,11 +152,11 @@ \ if ( (_information)->is_string ) \ /* _Objects_Copy_name_string( (_name), (_the_object)->name ); */\ - (_the_object)->name = name; \ + (_the_object)->name = (_name); \ else \ /* _Objects_Copy_name_raw( \ (_name), (_the_object)->name, (_information)->name_length ); */ \ - (_the_object)->name = name; \ + (_the_object)->name = (_name); \ } while (0) /*PAGE @@ -181,7 +181,7 @@ */ #define _Objects_Namespace_remove( _information, _the_object ) \ - (_the_object)->name = 0 \ + (_the_object)->name = 0; \ _Objects_Clear_name( (_the_object)->name, (_information)->name_length ) #endif |