diff options
Diffstat (limited to 'testsuites/smptests/smppsxaffinity02/init.c')
-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 462462f275..5f8abac0a0 100644 --- a/testsuites/smptests/smppsxaffinity02/init.c +++ b/testsuites/smptests/smppsxaffinity02/init.c @@ -89,7 +89,7 @@ void Validate_getaffinity_errors(void) /* Verify pthread_getaffinity_np validates cpusetsize */ puts( "Init - pthread_getaffinity_np - Invalid cpusetsize - EINVAL" ); - sc = pthread_getaffinity_np( Init_id, sizeof(cpu_set_t) * 2, &cpuset ); + sc = pthread_getaffinity_np( Init_id, 1, &cpuset ); rtems_test_assert( sc == EINVAL ); /* Verify pthread_getaffinity_np validates cpuset */ |