From 645fc9548232d49537ec07cd06faa513572a3f24 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 14 Aug 1996 15:27:14 +0000 Subject: pthread_attr_setscope: returns ENOTSUP not ENOSYS for unsupport scope --- c/src/tests/psxtests/psx07/init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'c/src/tests') diff --git a/c/src/tests/psxtests/psx07/init.c b/c/src/tests/psxtests/psx07/init.c index 830f82920c..4cd65a8426 100644 --- a/c/src/tests/psxtests/psx07/init.c +++ b/c/src/tests/psxtests/psx07/init.c @@ -158,9 +158,9 @@ void *POSIX_Init( status = pthread_attr_setscope( NULL, PTHREAD_SCOPE_PROCESS ); assert( status == EINVAL ); - puts( "Init: pthread_attr_setscope - ENOSYS" ); + puts( "Init: pthread_attr_setscope - ENOTSUP" ); status = pthread_attr_setscope( &attr, PTHREAD_SCOPE_SYSTEM ); - assert( status == ENOSYS ); + assert( status == ENOTSUP ); puts( "Init: pthread_attr_setscope - EINVAL (not initialized attr)" ); status = pthread_attr_setscope( &destroyed_attr, PTHREAD_SCOPE_PROCESS ); -- cgit v1.2.3