There is no need to set td->td_retval[0] to -1 on error.
Confirmed by: jhb MFC after: 1 month
This commit is contained in:
parent
d1d32ebbe5
commit
54a86dc320
@ -1250,7 +1250,6 @@ bad_unlocked:
|
||||
if (indx != -1)
|
||||
fdclose(fdp, fp, indx, td);
|
||||
fdrop(fp, td);
|
||||
td->td_retval[0] = -1;
|
||||
return (error);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user