diff options
-rw-r--r-- | c/src/exec/libcsupport/src/fcntl.c | 2 | ||||
-rw-r--r-- | c/src/lib/libc/fcntl.c | 2 | ||||
-rw-r--r-- | cpukit/libcsupport/src/fcntl.c | 2 |
3 files changed, 3 insertions, 3 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 */ diff --git a/c/src/lib/libc/fcntl.c b/c/src/lib/libc/fcntl.c index 7594c38d6d..5ed66ede5d 100644 --- a/c/src/lib/libc/fcntl.c +++ b/c/src/lib/libc/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 */ diff --git a/cpukit/libcsupport/src/fcntl.c b/cpukit/libcsupport/src/fcntl.c index 7594c38d6d..5ed66ede5d 100644 --- a/cpukit/libcsupport/src/fcntl.c +++ b/cpukit/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 */ |