summaryrefslogtreecommitdiff
path: root/cpukit/score/src/objectnametoidstring.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/objectnametoidstring.c')
-rw-r--r--cpukit/score/src/objectnametoidstring.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/objectnametoidstring.c b/cpukit/score/src/objectnametoidstring.c
index dd69f8a9ea..3bca0441e0 100644
--- a/cpukit/score/src/objectnametoidstring.c
+++ b/cpukit/score/src/objectnametoidstring.c
@@ -33,7 +33,7 @@ Objects_Control *_Objects_Get_by_name(
size_t max_name_length;
uint32_t index;
- _Assert( information->is_string );
+ _Assert( _Objects_Has_string_name( information ) );
_Assert( _Objects_Allocator_is_owner() );
if ( name == NULL ) {