diff options
Diffstat (limited to 'testsuites/smptests/smppsxaffinity02')
-rw-r--r-- | testsuites/smptests/smppsxaffinity02/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/smptests/smppsxaffinity02/init.c b/testsuites/smptests/smppsxaffinity02/init.c index 5f8abac0a0..eb38ea3c25 100644 --- a/testsuites/smptests/smppsxaffinity02/init.c +++ b/testsuites/smptests/smppsxaffinity02/init.c @@ -66,7 +66,7 @@ void Validate_setaffinity_errors(void) /* Verify pthread_setaffinity_np validates cpusetsize */ puts( "Init - pthread_setaffinity_np - Invalid cpusetsize - EINVAL" ); - sc = pthread_setaffinity_np( Init_id, sizeof(cpu_set_t) * 2, &cpuset ); + sc = pthread_setaffinity_np( Init_id, 1, &cpuset ); rtems_test_assert( sc == EINVAL ); /* Verify pthread_setaffinity_np validates cpuset */ |