summaryrefslogtreecommitdiffstats
path: root/sys/compat/linux/linux_socket.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1998-07-13 19:45:47 +0000
committerderaadt <deraadt@openbsd.org>1998-07-13 19:45:47 +0000
commit9b8f9ed94e268d5e50449bd469d5c7e8025130e7 (patch)
tree991acada8bd797fa855b78c61e827b280132b521 /sys/compat/linux/linux_socket.c
parentsync (diff)
downloadwireguard-openbsd-9b8f9ed94e268d5e50449bd469d5c7e8025130e7.tar.xz
wireguard-openbsd-9b8f9ed94e268d5e50449bd469d5c7e8025130e7.zip
oops; mwp@aba.net.au
Diffstat (limited to 'sys/compat/linux/linux_socket.c')
-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;