mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 14:18:09 +08:00
psx13: Fix use of uninitialized variable warning
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user