summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxhdrs/pthread/pthread_attr_setschedparam.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxhdrs/pthread/pthread_attr_setschedparam.c')
-rw-r--r--testsuites/psxtests/psxhdrs/pthread/pthread_attr_setschedparam.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/pthread/pthread_attr_setschedparam.c b/testsuites/psxtests/psxhdrs/pthread/pthread_attr_setschedparam.c
index 70f001fc67..643ccde907 100644
--- a/testsuites/psxtests/psxhdrs/pthread/pthread_attr_setschedparam.c
+++ b/testsuites/psxtests/psxhdrs/pthread/pthread_attr_setschedparam.c
@@ -42,8 +42,8 @@ int test( void );
int test( void )
{
- pthread_attr_t attr;
- struct sched_param param;
+ pthread_attr_t attr = { 0 };
+ struct sched_param param = { 0 };
int result;
result = pthread_attr_setschedparam( &attr, &param );