From 14da2e71a00b13e96580d8a82c1bdc8e3eb3ed2f Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Thu, 29 Oct 2009 04:51:39 +0000 Subject: [PATCH] =?UTF-8?q?2009-10-29=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * psx10/init.c: Pass 0x7FFF instead of 0xFFFFFF as invalid pshared attribute to pthread_condattr_setpshared for 16bit target compliance. --- testsuites/psxtests/psx10/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 );