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:
Joel Sherrill
1999-03-19 22:59:20 +00:00
parent d8ff79366b
commit c0a3642981
3 changed files with 6 additions and 0 deletions

View File

@@ -126,6 +126,8 @@ int fcntl(
break;
default:
errno = EINVAL;
ret = -1;
break;
}
if ((ret >= 0) && iop->handlers->fcntl) {

View File

@@ -126,6 +126,8 @@ int fcntl(
break;
default:
errno = EINVAL;
ret = -1;
break;
}
if ((ret >= 0) && iop->handlers->fcntl) {

View File

@@ -126,6 +126,8 @@ int fcntl(
break;
default:
errno = EINVAL;
ret = -1;
break;
}
if ((ret >= 0) && iop->handlers->fcntl) {