summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-10-29 04:51:39 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-10-29 04:51:39 +0000
commit14da2e71a00b13e96580d8a82c1bdc8e3eb3ed2f (patch)
treea8d4f60be5612d83cafc95364fdbf995da972fdd
parent2009-10-29 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-14da2e71a00b13e96580d8a82c1bdc8e3eb3ed2f.tar.bz2
2009-10-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* psx10/init.c: Pass 0x7FFF instead of 0xFFFFFF as invalid pshared attribute to pthread_condattr_setpshared for 16bit target compliance.
-rw-r--r--testsuites/psxtests/psx10/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/psxtests/psx10/init.c b/testsuites/psxtests/psx10/init.c
index 2688e5d640..a0b80ad29b 100644
--- a/testsuites/psxtests/psx10/init.c
+++ b/testsuites/psxtests/psx10/init.c
@@ -65,7 +65,7 @@ void *POSIX_Init(
assert( status == EINVAL );
puts( "Init: pthread_condattr_setpshared - EINVAL (attribute invalid)" );
- status = pthread_condattr_setpshared( &attr, 0xFFFFFF );
+ status = pthread_condattr_setpshared( &attr, 0x7FFF );
if ( status != EINVAL )
printf( "status = %d\n", status );
assert( status == EINVAL );