summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-11-04 10:53:16 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-11-04 10:54:52 +0100
commit8b18b8eb67362f5e06c8fc8a1d293f84baed3bb4 (patch)
treebf5bd870d102cd09c111500180288585e80cd362
parentscore: Fix _Scheduler_Try_to_schedule_node() (diff)
downloadrtems-8b18b8eb67362f5e06c8fc8a1d293f84baed3bb4.tar.bz2
posix: Fix _POSIX_RWLock_Manager_initialization()
Use right object class.
-rw-r--r--cpukit/posix/src/prwlock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/posix/src/prwlock.c b/cpukit/posix/src/prwlock.c
index 963ad1fcd7..f81d4e5bba 100644
--- a/cpukit/posix/src/prwlock.c
+++ b/cpukit/posix/src/prwlock.c
@@ -31,7 +31,7 @@ static void _POSIX_RWLock_Manager_initialization(void)
_Objects_Initialize_information(
&_POSIX_RWLock_Information, /* object information table */
OBJECTS_POSIX_API, /* object API */
- OBJECTS_POSIX_SPINLOCKS, /* object class */
+ OBJECTS_POSIX_RWLOCKS, /* object class */
Configuration_POSIX_API.maximum_rwlocks,
/* maximum objects of this class */
sizeof( POSIX_RWLock_Control ), /* size of this object's control block */