aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/sys/connect.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/connect.c')
-rw-r--r--lib/libc/sys/connect.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/sys/connect.c b/lib/libc/sys/connect.c
index dd70908496a7..c908ec5dc493 100644
--- a/lib/libc/sys/connect.c
+++ b/lib/libc/sys/connect.c
@@ -40,7 +40,6 @@ __weak_reference(__sys_connect, __connect);
int
connect(int s, const struct sockaddr *addr, socklen_t addrlen)
{
-
return (((int (*)(int, const struct sockaddr *, socklen_t))
- __libc_interposing[INTERPOS_connect])(s, addr, addrlen));
+ __libsys_interposing[INTERPOS_connect])(s, addr, addrlen));
}