mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-30 17:38:39 +08:00
2008-08-15 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1297/cpukit * posix/src/prwlockinit.c: Fix NULL attribute pointer handling.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2008-08-15 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
PR 1297/cpukit
|
||||
* posix/src/prwlockinit.c: Fix NULL attribute pointer handling.
|
||||
|
||||
2008-08-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||
|
||||
* rtems/include/rtems/rtems/ratemon.h,
|
||||
|
||||
@@ -65,10 +65,10 @@ int pthread_rwlock_init(
|
||||
/*
|
||||
* Now start error checking the attributes that we are going to use
|
||||
*/
|
||||
if ( !attr->is_initialized )
|
||||
if ( !the_attr->is_initialized )
|
||||
return EINVAL;
|
||||
|
||||
switch ( attr->process_shared ) {
|
||||
switch ( the_attr->process_shared ) {
|
||||
case PTHREAD_PROCESS_PRIVATE: /* only supported values */
|
||||
break;
|
||||
case PTHREAD_PROCESS_SHARED:
|
||||
|
||||
Reference in New Issue
Block a user