diff options
author | Raimo Niskanen <[email protected]> | 2016-11-09 08:30:48 +0100 |
---|---|---|
committer | Raimo Niskanen <[email protected]> | 2016-11-09 08:30:48 +0100 |
commit | 992c594106ca23cd4120249cd904f6ffa7bdd13e (patch) | |
tree | c78ec2505c048874eac4fc65cc5055c0d53a2759 /lib/kernel/src/gen_sctp.erl | |
parent | 251012d820ab75833c6dd787b2450a94e1bb5aa2 (diff) | |
parent | 70526ab4e8b5a0d84c5cfd27557a481707420ce2 (diff) | |
download | otp-992c594106ca23cd4120249cd904f6ffa7bdd13e.tar.gz otp-992c594106ca23cd4120249cd904f6ffa7bdd13e.tar.bz2 otp-992c594106ca23cd4120249cd904f6ffa7bdd13e.zip |
Merge branch 'gomoripeti/kernel/controlling_proc_badarg_doc/PR-1208/OTP-14022' into maint
* gomoripeti/kernel/controlling_proc_badarg_doc/PR-1208/OTP-14022:
controlling_process can return {error, badarg}
Diffstat (limited to 'lib/kernel/src/gen_sctp.erl')
-rw-r--r-- | lib/kernel/src/gen_sctp.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kernel/src/gen_sctp.erl b/lib/kernel/src/gen_sctp.erl index b133e6fed4..a6aa0edd15 100644 --- a/lib/kernel/src/gen_sctp.erl +++ b/lib/kernel/src/gen_sctp.erl @@ -439,7 +439,7 @@ error_string(X) -> -spec controlling_process(Socket, Pid) -> ok | {error, Reason} when Socket :: sctp_socket(), Pid :: pid(), - Reason :: closed | not_owner | inet:posix(). + Reason :: closed | not_owner | badarg | inet:posix(). controlling_process(S, Pid) when is_port(S), is_pid(Pid) -> inet:udp_controlling_process(S, Pid); |