summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxhdrs/pthread/pthread_mutex_timedlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxhdrs/pthread/pthread_mutex_timedlock.c')
-rw-r--r--testsuites/psxtests/psxhdrs/pthread/pthread_mutex_timedlock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/psxtests/psxhdrs/pthread/pthread_mutex_timedlock.c b/testsuites/psxtests/psxhdrs/pthread/pthread_mutex_timedlock.c
index c402d17a57..02f864493d 100644
--- a/testsuites/psxtests/psxhdrs/pthread/pthread_mutex_timedlock.c
+++ b/testsuites/psxtests/psxhdrs/pthread/pthread_mutex_timedlock.c
@@ -46,7 +46,7 @@ int test( void );
int test( void )
{
pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;
- struct timespec timeout;
+ struct timespec timeout = { 0 };
int result;
result = pthread_mutex_timedlock( &mutex, &timeout );