forked from Imagelibrary/rtems
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.
This commit is contained in:
@@ -126,6 +126,8 @@ int fcntl(
|
||||
break;
|
||||
|
||||
default:
|
||||
errno = EINVAL;
|
||||
ret = -1;
|
||||
break;
|
||||
}
|
||||
if ((ret >= 0) && iop->handlers->fcntl) {
|
||||
|
||||
@@ -126,6 +126,8 @@ int fcntl(
|
||||
break;
|
||||
|
||||
default:
|
||||
errno = EINVAL;
|
||||
ret = -1;
|
||||
break;
|
||||
}
|
||||
if ((ret >= 0) && iop->handlers->fcntl) {
|
||||
|
||||
@@ -126,6 +126,8 @@ int fcntl(
|
||||
break;
|
||||
|
||||
default:
|
||||
errno = EINVAL;
|
||||
ret = -1;
|
||||
break;
|
||||
}
|
||||
if ((ret >= 0) && iop->handlers->fcntl) {
|
||||
|
||||
Reference in New Issue
Block a user