diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2023-09-22 14:37:25 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2023-09-26 08:04:30 +0200 |
commit | 535999041ace77854d0c9fd3e412f00ecc5e0e1e (patch) | |
tree | 0e8dd1d505ec2cda9e8f24783761ea5f24914193 /testsuites/psxtests/psx13/test.c | |
parent | tests: Add header for RTEMS test printer (diff) | |
download | rtems-535999041ace77854d0c9fd3e412f00ecc5e0e1e.tar.bz2 |
psx13: Fix use of uninitialized variable warning
Diffstat (limited to 'testsuites/psxtests/psx13/test.c')
-rw-r--r-- | testsuites/psxtests/psx13/test.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuites/psxtests/psx13/test.c b/testsuites/psxtests/psx13/test.c index 0754dbcf30..951953ae98 100644 --- a/testsuites/psxtests/psx13/test.c +++ b/testsuites/psxtests/psx13/test.c @@ -639,6 +639,8 @@ static void FutimensTest( void ) /* EBADF test case */ /* Case: Pass an invalid file descriptor */ + _Timespec_Set_to_zero( &time[0] ); + _Timespec_Set_to_zero( &time[1] ); rv = futimens( -1, time ); rtems_test_assert( rv == -1 ); rtems_test_assert( errno == EBADF ); |