diff options
Diffstat (limited to 'testsuites/psxtests/psxstat/test.c')
-rw-r--r-- | testsuites/psxtests/psxstat/test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuites/psxtests/psxstat/test.c b/testsuites/psxtests/psxstat/test.c index 90f1431dfc..58633b9c2c 100644 --- a/testsuites/psxtests/psxstat/test.c +++ b/testsuites/psxtests/psxstat/test.c @@ -780,10 +780,10 @@ void test_statvfs( void ) int status = 0; struct statvfs stat; - puts( "statvfs, with invalid path - expect EFAULT" ); - status = statvfs( NULL , &stat ); + puts( "statvfs, with invalid path - expect ENOTSUP" ); + status = statvfs( "" , &stat ); rtems_test_assert( status == -1 ); - rtems_test_assert( errno == EFAULT ); + rtems_test_assert( errno == ENOTSUP ); puts( "create /tmp -- OK" ); status = mkdir( "/tmp", 0777 ); |