summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxhdrs/time/clock_settime.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxhdrs/time/clock_settime.c')
-rw-r--r--testsuites/psxtests/psxhdrs/time/clock_settime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/psxtests/psxhdrs/time/clock_settime.c b/testsuites/psxtests/psxhdrs/time/clock_settime.c
index 8a4d88c37f..8584e1c61f 100644
--- a/testsuites/psxtests/psxhdrs/time/clock_settime.c
+++ b/testsuites/psxtests/psxhdrs/time/clock_settime.c
@@ -46,7 +46,7 @@ int test( void );
int test( void )
{
clockid_t clock_id = 0;
- struct timespec tp;
+ struct timespec tp = { 0 };
int result;
result = clock_settime( clock_id, &tp );