diff options
author | jb <jb@FreeBSD.org> | 1997-04-01 22:52:43 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 1997-04-01 22:52:43 +0000 |
commit | f0841c21ac8f38930273fe75fec5748f79b5fe1a (patch) | |
tree | 090de2d620b255bbb5ad57e4788bb2581511905b /lib/libc_r/uthread | |
parent | 23802b4b622906b7615df31174080cdad5289a31 (diff) | |
download | FreeBSD-src-f0841c21ac8f38930273fe75fec5748f79b5fe1a.zip FreeBSD-src-f0841c21ac8f38930273fe75fec5748f79b5fe1a.tar.gz |
Fix the return value. Oops.
Diffstat (limited to 'lib/libc_r/uthread')
-rw-r--r-- | lib/libc_r/uthread/uthread_socketpair.c | 4 |
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 |