aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src/local_tcp.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kernel/src/local_tcp.erl')
-rw-r--r--lib/kernel/src/local_tcp.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kernel/src/local_tcp.erl b/lib/kernel/src/local_tcp.erl
index e3c67dfbb7..90e0fa2162 100644
--- a/lib/kernel/src/local_tcp.erl
+++ b/lib/kernel/src/local_tcp.erl
@@ -175,4 +175,4 @@ accept(L, Timeout) ->
%% Create a port/socket from a file descriptor
%%
fdopen(Fd, Opts) ->
- inet:fdopen(Fd, Opts, ?PROTO, ?FAMILY, ?TYPE, ?MODULE).
+ inet:open(Fd, undefined, 0, Opts, ?PROTO, ?FAMILY, ?TYPE, ?MODULE).