diff options
Diffstat (limited to 'cpukit/libcsupport/src/fchown.c')
-rw-r--r-- | cpukit/libcsupport/src/fchown.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/cpukit/libcsupport/src/fchown.c b/cpukit/libcsupport/src/fchown.c index b066037717..13bb2b9da0 100644 --- a/cpukit/libcsupport/src/fchown.c +++ b/cpukit/libcsupport/src/fchown.c @@ -38,8 +38,5 @@ int fchown( rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE ); - if ( !iop->pathinfo.ops->chown_h ) - rtems_set_errno_and_return_minus_one( ENOTSUP ); - return (*iop->pathinfo.ops->chown_h)( &iop->pathinfo, owner, group ); } |