diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-03-19 22:59:20 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-03-19 22:59:20 +0000 |
commit | c0a3642981b441d255e9b866ab783b62bedc6c57 (patch) | |
tree | 45d3a74ce3a7d97343f2a2727218ff77b35a969c /c/src/exec/libcsupport | |
parent | Towards automake XI patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>: (diff) | |
download | rtems-c0a3642981b441d255e9b866ab783b62bedc6c57.tar.bz2 |
A cleanup patch on fcntl.c from Eric Norum <eric@skatter.usask.ca> for
2 lines of code that did not get included when Joel tried to manually
add a rejected patch.
Diffstat (limited to 'c/src/exec/libcsupport')
-rw-r--r-- | c/src/exec/libcsupport/src/fcntl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/c/src/exec/libcsupport/src/fcntl.c b/c/src/exec/libcsupport/src/fcntl.c index 3a65a74574..9b89711fcc 100644 --- a/c/src/exec/libcsupport/src/fcntl.c +++ b/c/src/exec/libcsupport/src/fcntl.c @@ -126,6 +126,8 @@ int fcntl( break; default: + errno = EINVAL; + ret = -1; break; } if ((ret >= 0) && iop->handlers->fcntl) { |