summaryrefslogtreecommitdiffstats
path: root/lib/libc_r/uthread/uthread_socketpair.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc_r/uthread/uthread_socketpair.c')
-rw-r--r--lib/libc_r/uthread/uthread_socketpair.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc_r/uthread/uthread_socketpair.c b/lib/libc_r/uthread/uthread_socketpair.c
index 22e40a6..2c8761b 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 <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
OpenPOWER on IntegriCloud