From 9b8f9ed94e268d5e50449bd469d5c7e8025130e7 Mon Sep 17 00:00:00 2001 From: deraadt Date: Mon, 13 Jul 1998 19:45:47 +0000 Subject: oops; mwp@aba.net.au --- sys/compat/linux/linux_socket.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/compat/linux/linux_socket.c') diff --git a/sys/compat/linux/linux_socket.c b/sys/compat/linux/linux_socket.c index 7514628620f..8038e18a6d8 100644 --- a/sys/compat/linux/linux_socket.c +++ b/sys/compat/linux/linux_socket.c @@ -1,4 +1,4 @@ -/* $OpenBSD: linux_socket.c,v 1.13 1998/04/25 05:47:35 millert Exp $ */ +/* $OpenBSD: linux_socket.c,v 1.14 1998/07/13 19:45:47 deraadt Exp $ */ /* $NetBSD: linux_socket.c,v 1.14 1996/04/05 00:01:50 christos Exp $ */ /* @@ -212,7 +212,7 @@ linux_connect(p, uap, retval) SCARG(&fca, fd) = lca.s; SCARG(&fca, cmd) = F_GETFL; SCARG(&fca, arg) = 0; - if (sys_getsockopt(p, &fca, retval) == -1 || + if (sys_fcntl(p, &fca, retval) == -1 || (*retval & O_NONBLOCK) == 0) return error; -- cgit v1.2.3-59-g8ed1b