diff options
Diffstat (limited to 'testsuites/psxtests/psxhdrs/sys/time')
-rw-r--r-- | testsuites/psxtests/psxhdrs/sys/time/utimes.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/testsuites/psxtests/psxhdrs/sys/time/utimes.c b/testsuites/psxtests/psxhdrs/sys/time/utimes.c index ae69eb5ded..bebc7a77b4 100644 --- a/testsuites/psxtests/psxhdrs/sys/time/utimes.c +++ b/testsuites/psxtests/psxhdrs/sys/time/utimes.c @@ -5,7 +5,7 @@ /* * SPDX-License-Identifier: BSD-2-Clause - * + * * Copyright (C) 2018, Zenon * * Redistribution and use in source and binary forms, with or without @@ -41,8 +41,8 @@ int test(void); int test(void) { int callback; - struct timeval tv; - - callback = utimes(NULL, &tv); + struct timeval tv[2] = { 0 }; + + callback = utimes(NULL, &tv[0]); return (callback == -1); } |