diff --git a/lib/libc_r/uthread/uthread_socketpair.c b/lib/libc_r/uthread/uthread_socketpair.c index 22e40a6d7b7b..2c8761bc8355 100644 --- a/lib/libc_r/uthread/uthread_socketpair.c +++ b/lib/libc_r/uthread/uthread_socketpair.c @@ -29,6 +29,8 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * + * $Id$ + * */ #include #include @@ -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