[rtems commit] posix: Fix _POSIX_RWLock_Manager_initialization()
Sebastian Huber
sebh at rtems.org
Fri Nov 4 10:08:14 UTC 2016
Module: rtems
Branch: master
Commit: 8b18b8eb67362f5e06c8fc8a1d293f84baed3bb4
Changeset: http://git.rtems.org/rtems/commit/?id=8b18b8eb67362f5e06c8fc8a1d293f84baed3bb4
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Fri Nov 4 10:53:16 2016 +0100
posix: Fix _POSIX_RWLock_Manager_initialization()
Use right object class.
---
cpukit/posix/src/prwlock.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cpukit/posix/src/prwlock.c b/cpukit/posix/src/prwlock.c
index 963ad1f..f81d4e5 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 */
More information about the vc
mailing list