diff options
Diffstat (limited to 'testsuites/psxtests/psxgetattrnp01/init.c')
-rw-r--r-- | testsuites/psxtests/psxgetattrnp01/init.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/testsuites/psxtests/psxgetattrnp01/init.c b/testsuites/psxtests/psxgetattrnp01/init.c index afde4a210e..19981573d1 100644 --- a/testsuites/psxtests/psxgetattrnp01/init.c +++ b/testsuites/psxtests/psxgetattrnp01/init.c @@ -62,11 +62,7 @@ static int attribute_compare( if ( attr1->schedpolicy != attr2->schedpolicy ) return 1; - if (memcmp( - &attr1->schedparam, - &attr2->schedparam, - sizeof(struct sched_param) - )) + if ( attr1->schedparam.sched_priority != attr2->schedparam.sched_priority ) return 1; #if HAVE_DECL_PTHREAD_ATTR_SETGUARDSIZE |