summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libc/fchmod.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libc/fchmod.c')
-rw-r--r--c/src/lib/libc/fchmod.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/c/src/lib/libc/fchmod.c b/c/src/lib/libc/fchmod.c
index 46c64cd6f7..a964c737ea 100644
--- a/c/src/lib/libc/fchmod.c
+++ b/c/src/lib/libc/fchmod.c
@@ -32,13 +32,6 @@ int fchmod(
rtems_libio_check_is_open(iop);
/*
- * If this is not a file system based entity, it is an error.
- */
-
- if ( iop->flags & LIBIO_FLAGS_HANDLER_MASK )
- set_errno_and_return_minus_one( EBADF );
-
- /*
* Now process the fchmod().
*/