summaryrefslogtreecommitdiffstats
path: root/c/src/tests
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1996-08-14 15:27:14 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1996-08-14 15:27:14 +0000
commit645fc9548232d49537ec07cd06faa513572a3f24 (patch)
treef0993b158518aeba0100171a2986b7c97ba707a9 /c/src/tests
parentpthread_cond_destroy: added enable dispatch to EBUSY case (diff)
downloadrtems-645fc9548232d49537ec07cd06faa513572a3f24.tar.bz2
pthread_attr_setscope: returns ENOTSUP not ENOSYS for unsupport scope
Diffstat (limited to 'c/src/tests')
-rw-r--r--c/src/tests/psxtests/psx07/init.c4
1 files changed, 2 insertions, 2 deletions
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 );