mirror of
https://github.com/opnsense/src.git
synced 2026-06-14 19:20:18 -04:00
Fix the return value. Oops.
This commit is contained in:
parent
1cec64c4d6
commit
38d7083fcf
1 changed files with 3 additions and 1 deletions
|
|
@ -29,6 +29,8 @@
|
|||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
|
|
@ -48,6 +50,6 @@ socketpair(int af, int type, int protocol, int pair[2])
|
|||
_thread_sys_close(pair[1]);
|
||||
ret = -1;
|
||||
}
|
||||
return (-1);
|
||||
return (ret);
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue