summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-07-13 19:45:48 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-07-13 19:45:48 +0000
commit40230a1311e1c5aa0e24fa4a724e565188e7ab7d (patch)
tree36f772e4fd53702783c6bea25650e2e3abc1e817
parent4e94590b77b5d17c12d6ddb1acf6226d0f5afad9 (diff)
oops; mwp@aba.net.au
-rw-r--r--sys/compat/linux/linux_socket.c4
1 files changed, 2 insertions, 2 deletions
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;