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:
Joel Sherrill
2008-08-15 16:29:22 +00:00
parent 84976d0511
commit e293d889b5
2 changed files with 7 additions and 2 deletions
+5
View File
@@ -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,
+2 -2
View File
@@ -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: