diff options
Diffstat (limited to '')
-rw-r--r-- | cpukit/libcsupport/src/stat.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/libcsupport/src/stat.c b/cpukit/libcsupport/src/stat.c index c2f2badf22..5e26f94322 100644 --- a/cpukit/libcsupport/src/stat.c +++ b/cpukit/libcsupport/src/stat.c @@ -59,7 +59,8 @@ int _STAT_NAME( if ( !buf ) rtems_set_errno_and_return_minus_one( EFAULT ); - status = rtems_filesystem_evaluate_path( path, 0, &loc, _STAT_FOLLOW_LINKS ); + status = rtems_filesystem_evaluate_path( path, strlen( path ), + 0, &loc, _STAT_FOLLOW_LINKS ); if ( status != 0 ) return -1; |