summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smppsxaffinity02
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-07-04 08:59:37 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-07-07 07:36:31 +0200
commit0232b28df10549d64dcc6d9fc68a332014dac8eb (patch)
tree5c5a43f51fe93858f86412f817bb05d54960fc81 /testsuites/smptests/smppsxaffinity02
parentrtems: Fix rtems_scheduler_remove_processor() (diff)
downloadrtems-0232b28df10549d64dcc6d9fc68a332014dac8eb.tar.bz2
score: Use processor mask for set affinity
Update #3059.
Diffstat (limited to 'testsuites/smptests/smppsxaffinity02')
-rw-r--r--testsuites/smptests/smppsxaffinity02/init.c2
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 */