summaryrefslogtreecommitdiff
path: root/cpukit/libcsupport/src/fcntl.c
diff options
context:
space:
mode:
authorJennifer Averett <Jennifer.Averett@OARcorp.com>1999-03-31 23:23:52 +0000
committerJennifer Averett <Jennifer.Averett@OARcorp.com>1999-03-31 23:23:52 +0000
commitf719ef12ff9dcf2fdddee8a130290e68e4743b74 (patch)
treee46f1fd865935b5817fdc14d289c257e2fda7766 /cpukit/libcsupport/src/fcntl.c
parent3f06c298b40b50d228d50627b59cea448e46ed26 (diff)
Corrected return value.
Diffstat (limited to 'cpukit/libcsupport/src/fcntl.c')
-rw-r--r--cpukit/libcsupport/src/fcntl.c2
1 files changed, 1 insertions, 1 deletions
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 */