summaryrefslogtreecommitdiffstats
path: root/c/src/exec/libcsupport/src/fcntl.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/exec/libcsupport/src/fcntl.c')
-rw-r--r--c/src/exec/libcsupport/src/fcntl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/exec/libcsupport/src/fcntl.c b/c/src/exec/libcsupport/src/fcntl.c
index 7594c38d6d..5ed66ede5d 100644
--- a/c/src/exec/libcsupport/src/fcntl.c
+++ b/c/src/exec/libcsupport/src/fcntl.c
@@ -64,7 +64,7 @@ int fcntl(
diop->file_info = iop->file_info;
diop->flags = iop->flags;
diop->pathinfo = iop->pathinfo;
-
+ ret = (int) (diop - rtems_libio_iops);
break;
case F_GETFD: /* get f_flags */