aboutsummaryrefslogtreecommitdiffstats
path: root/erts/preloaded/src
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2012-03-19 16:35:04 +0100
committerBjörn-Egil Dahlberg <[email protected]>2012-03-19 16:35:04 +0100
commit252b055e7f05e2beb91d680635dec9a9b307b1b1 (patch)
treef9055b368bcc947ca331725d17ed153173317e11 /erts/preloaded/src
parent6dc3f61a6e2a635de31c2016e7bd8e6ff16533af (diff)
parent68ba8d70deb1549dd37a8325eea686c9908f926b (diff)
downloadotp-252b055e7f05e2beb91d680635dec9a9b307b1b1.tar.gz
otp-252b055e7f05e2beb91d680635dec9a9b307b1b1.tar.bz2
otp-252b055e7f05e2beb91d680635dec9a9b307b1b1.zip
Merge branch 'maint'
Conflicts: erts/preloaded/ebin/prim_inet.beam
Diffstat (limited to 'erts/preloaded/src')
-rw-r--r--erts/preloaded/src/prim_inet.erl6
1 files changed, 4 insertions, 2 deletions
diff --git a/erts/preloaded/src/prim_inet.erl b/erts/preloaded/src/prim_inet.erl
index 0cedd284db..14bf3b6c69 100644
--- a/erts/preloaded/src/prim_inet.erl
+++ b/erts/preloaded/src/prim_inet.erl
@@ -83,8 +83,10 @@ open(Protocol, Family, Type, Req, Data) ->
end
catch
%% The only (?) way to get here is to try to open
- %% the sctp driver when it does not exist
- error:badarg -> {error,eprotonosupport}
+ %% the sctp driver when it does not exist (badarg)
+ error:badarg -> {error, eprotonosupport};
+ %% system_limit if out of port slots
+ error:system_limit -> {error, system_limit}
end.
enc_family(inet) -> ?INET_AF_INET;