diff options
author | Jennifer Averett <Jennifer.Averett@OARcorp.com> | 1999-03-31 23:23:52 +0000 |
---|---|---|
committer | Jennifer Averett <Jennifer.Averett@OARcorp.com> | 1999-03-31 23:23:52 +0000 |
commit | f719ef12ff9dcf2fdddee8a130290e68e4743b74 (patch) | |
tree | e46f1fd865935b5817fdc14d289c257e2fda7766 /c/src/lib/libc/fcntl.c | |
parent | Added prints for calls into the file system. Added O_EXCL for an open that (diff) | |
download | rtems-f719ef12ff9dcf2fdddee8a130290e68e4743b74.tar.bz2 |
Corrected return value.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libc/fcntl.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |