diff options
Diffstat (limited to 'cpukit/score/src/objectnamespaceremove.c')
-rw-r--r-- | cpukit/score/src/objectnamespaceremove.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/src/objectnamespaceremove.c b/cpukit/score/src/objectnamespaceremove.c index cc2c954a77..122ed862b7 100644 --- a/cpukit/score/src/objectnamespaceremove.c +++ b/cpukit/score/src/objectnamespaceremove.c @@ -27,7 +27,7 @@ void _Objects_Namespace_remove_u32( Objects_Control *the_object ) { - _Assert( !information->is_string ); + _Assert( !_Objects_Has_string_name( information ) ); the_object->name.name_u32 = 0; } @@ -38,7 +38,7 @@ void _Objects_Namespace_remove_string( { char *name; - _Assert( information->is_string ); + _Assert( _Objects_Has_string_name( information ) ); name = RTEMS_DECONST( char *, the_object->name.name_p ); the_object->name.name_p = NULL; _Workspace_Free( name ); |