aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src/local_tcp.erl
diff options
context:
space:
mode:
authorRaimo Niskanen <[email protected]>2016-06-13 16:36:01 +0200
committerRaimo Niskanen <[email protected]>2016-06-15 08:34:00 +0200
commit853899cd68899713d5c9af69355424eea4086d41 (patch)
treec0c7da3a315d0bc77d818727b3d137f1653de975 /lib/kernel/src/local_tcp.erl
parent16e895198a541ccbbbe6c970bd9572cf347a9c77 (diff)
downloadotp-853899cd68899713d5c9af69355424eea4086d41.tar.gz
otp-853899cd68899713d5c9af69355424eea4086d41.tar.bz2
otp-853899cd68899713d5c9af69355424eea4086d41.zip
Handle 'undefined' in fdopen
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).