diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-05-20 15:10:27 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-05-20 16:17:00 +0200 |
commit | e266d134ebf6f7b7722fffe23c3b4ad142001452 (patch) | |
tree | 7e43e93706be3da460331353b87e58cbb6a9833c /cpukit/posix/src/pthreadgetattrnp.c | |
parent | score: Rename _Objects_Get_local() (diff) | |
download | rtems-e266d134ebf6f7b7722fffe23c3b4ad142001452.tar.bz2 |
Replace *_Get_interrupt_disable() with *_Get()
Uniformly use *_Get() to get an object by identifier with a lock
context.
Diffstat (limited to 'cpukit/posix/src/pthreadgetattrnp.c')
-rw-r--r-- | cpukit/posix/src/pthreadgetattrnp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/posix/src/pthreadgetattrnp.c b/cpukit/posix/src/pthreadgetattrnp.c index 30cee97f06..63de97be4b 100644 --- a/cpukit/posix/src/pthreadgetattrnp.c +++ b/cpukit/posix/src/pthreadgetattrnp.c @@ -38,7 +38,7 @@ int pthread_getattr_np( return EINVAL; } - the_thread = _Thread_Get_interrupt_disable( thread, &lock_context ); + the_thread = _Thread_Get( thread, &lock_context ); if ( the_thread == NULL ) { return ESRCH; |