diff options
Diffstat (limited to 'cpukit/libcsupport/src/chown.c')
-rw-r--r-- | cpukit/libcsupport/src/chown.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libcsupport/src/chown.c b/cpukit/libcsupport/src/chown.c index 4784315d57..22d2a77127 100644 --- a/cpukit/libcsupport/src/chown.c +++ b/cpukit/libcsupport/src/chown.c @@ -33,7 +33,7 @@ int chown( rtems_filesystem_location_info_t loc; int result; - if ( rtems_filesystem_evaluate_path( path, 0x00, &loc, true ) ) + if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x00, &loc, true ) ) return -1; if ( !loc.ops->chown_h ) { |