aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAggelos Giantsios <[email protected]>2017-03-12 02:55:24 +0200
committerAggelos Giantsios <[email protected]>2017-03-12 02:55:24 +0200
commit219b65134e1ab2c4eab6fd6709cf4c8ca45ab61b (patch)
tree4b21b934293d31e37cc11a8c73e6792ed8b350ae
parent35e38c97f5f731e3b1689b0740efa305bac9d16e (diff)
downloadotp-219b65134e1ab2c4eab6fd6709cf4c8ca45ab61b.tar.gz
otp-219b65134e1ab2c4eab6fd6709cf4c8ca45ab61b.tar.bz2
otp-219b65134e1ab2c4eab6fd6709cf4c8ca45ab61b.zip
Fix return value of obsolete_1(rpc,safe_multi_server_call,A)
The following calls: - otp_internal:obsolete(rpc, safe_multi_server_call, 2). - otp_internal:obsolete(rpc, safe_multi_server_call, 3). threw an unhandled exception. The return value has been amended to match the relevant pattern of obsolete/3.
-rw-r--r--lib/stdlib/src/otp_internal.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/src/otp_internal.erl b/lib/stdlib/src/otp_internal.erl
index 2a0e3118d0..fda7a2cd8a 100644
--- a/lib/stdlib/src/otp_internal.erl
+++ b/lib/stdlib/src/otp_internal.erl
@@ -548,7 +548,7 @@ obsolete_1(queue, lait, 1) ->
obsolete_1(overload, _, _) ->
{removed, "removed in OTP 19"};
obsolete_1(rpc, safe_multi_server_call, A) when A =:= 2; A =:= 3 ->
- {removed, {rpc, multi_server_call, A}};
+ {removed, {rpc, multi_server_call, A}, "removed in OTP 19"};
%% Added in OTP 20.