diff options
Diffstat (limited to 'cpukit/score/src/objectidtoname.c')
-rw-r--r-- | cpukit/score/src/objectidtoname.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/src/objectidtoname.c b/cpukit/score/src/objectidtoname.c index 2ec721437e..4af6c657e5 100644 --- a/cpukit/score/src/objectidtoname.c +++ b/cpukit/score/src/objectidtoname.c @@ -62,8 +62,8 @@ Objects_Name_or_id_lookup_errors _Objects_Id_to_name ( if ( information->is_string ) return OBJECTS_INVALID_ID; - the_object = _Objects_Get( information, id, &ignored_location ); - if (!the_object) + the_object = _Objects_Get( information, id, &ignored_location ); + if ( !the_object ) return OBJECTS_INVALID_ID; *name = the_object->name; |