diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-07-18 11:03:24 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-07-22 16:45:59 +0200 |
commit | 3b8d2fa44312b1fea52f1d4bdd8bbedd45557822 (patch) | |
tree | 45664af61c27b42a1cf46a7b0ab15ee8cfe2c34f /cpukit/rtems/src/rtemsobjectsetname.c | |
parent | score: Use _Thread_Get_executing() (diff) | |
download | rtems-3b8d2fa44312b1fea52f1d4bdd8bbedd45557822.tar.bz2 |
rtems: Use _Thread_Get_executing()
Diffstat (limited to 'cpukit/rtems/src/rtemsobjectsetname.c')
-rw-r--r-- | cpukit/rtems/src/rtemsobjectsetname.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/rtems/src/rtemsobjectsetname.c b/cpukit/rtems/src/rtemsobjectsetname.c index 7e35225189..6db87ac8ac 100644 --- a/cpukit/rtems/src/rtemsobjectsetname.c +++ b/cpukit/rtems/src/rtemsobjectsetname.c @@ -43,7 +43,7 @@ rtems_status_code rtems_object_set_name( if ( !name ) return RTEMS_INVALID_ADDRESS; - tmpId = (id == OBJECTS_ID_OF_SELF) ? _Thread_Executing->Object.id : id; + tmpId = (id == OBJECTS_ID_OF_SELF) ? _Thread_Get_executing()->Object.id : id; information = _Objects_Get_information_id( tmpId ); if ( !information ) |