diff options
Diffstat (limited to 'cpukit/score/src/objectidtoname.c')
-rw-r--r-- | cpukit/score/src/objectidtoname.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/objectidtoname.c b/cpukit/score/src/objectidtoname.c index d3f05e3df4..db739d8847 100644 --- a/cpukit/score/src/objectidtoname.c +++ b/cpukit/score/src/objectidtoname.c @@ -38,7 +38,7 @@ Objects_Name_or_id_lookup_errors _Objects_Id_to_name ( * Caller is trusted for name != NULL. */ - tmpId = (id == OBJECTS_ID_OF_SELF) ? _Thread_Executing->Object.id : id; + tmpId = (id == OBJECTS_ID_OF_SELF) ? _Thread_Get_executing()->Object.id : id; the_api = _Objects_Get_API( tmpId ); if ( !_Objects_Is_api_valid( the_api ) ) |