summaryrefslogtreecommitdiffstats
path: root/c/src/exec
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 /c/src/exec
parentAdded prints for calls into the file system. Added O_EXCL for an open that (diff)
downloadrtems-f719ef12ff9dcf2fdddee8a130290e68e4743b74.tar.bz2
Corrected return value.
Diffstat (limited to 'c/src/exec')
-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 */