diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-07-18 12:43:49 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-07-22 16:45:59 +0200 |
commit | 02f73d487eb585255795be492e148a306fcf8e77 (patch) | |
tree | 60a0ea063bf4444b5993047463988f7eb3d76135 /cpukit/score/src/objectidtoname.c | |
parent | testsuites: Include missing header files (diff) | |
download | rtems-02f73d487eb585255795be492e148a306fcf8e77.tar.bz2 |
score: Use _Thread_Get_executing()
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 ) ) |