diff options
Diffstat (limited to 'cpukit/score/src/objectsetname.c')
-rw-r--r-- | cpukit/score/src/objectsetname.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/score/src/objectsetname.c b/cpukit/score/src/objectsetname.c index 85b49ff13f..009988b862 100644 --- a/cpukit/score/src/objectsetname.c +++ b/cpukit/score/src/objectsetname.c @@ -25,7 +25,7 @@ #include <string.h> -bool _Objects_Set_name( +Status_Control _Objects_Set_name( const Objects_Information *information, Objects_Control *the_object, const char *name @@ -38,7 +38,7 @@ bool _Objects_Set_name( length = strnlen( name, information->name_length ); dup = _Workspace_String_duplicate( name, length ); if ( dup == NULL ) { - return false; + return STATUS_NO_MEMORY; } the_object->name.name_p = dup; @@ -60,5 +60,5 @@ bool _Objects_Set_name( _Objects_Build_name( c[ 0 ], c[ 1 ], c[ 2 ], c[ 3 ] ); } - return true; + return STATUS_SUCCESSFUL; } |