aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorFredrik Gustafsson <[email protected]>2013-08-05 10:34:16 +0200
committerFredrik Gustafsson <[email protected]>2013-08-05 10:34:16 +0200
commit08c4a46e0be4017bbcee596eb4858d0e16eaaec6 (patch)
tree95a9c9bb7d74bba449b781959e50b97bf182bfc8 /lib
parentd9f1c1f1bc658d133b9198e4564e419597793cb4 (diff)
parentafb91b3fc36e57997364f20abaef9d4528113e91 (diff)
downloadotp-08c4a46e0be4017bbcee596eb4858d0e16eaaec6.tar.gz
otp-08c4a46e0be4017bbcee596eb4858d0e16eaaec6.tar.bz2
otp-08c4a46e0be4017bbcee596eb4858d0e16eaaec6.zip
Merge branch 'weisslj/fix-abcast-comment-typo/OTP-11219' into maint
* weisslj/fix-abcast-comment-typo/OTP-11219: Fix typo in abcast() function comment
Diffstat (limited to 'lib')
-rw-r--r--lib/kernel/src/rpc.erl2
-rw-r--r--lib/stdlib/src/gen_server.erl2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/kernel/src/rpc.erl b/lib/kernel/src/rpc.erl
index ced6f47bfe..0e7e7d2031 100644
--- a/lib/kernel/src/rpc.erl
+++ b/lib/kernel/src/rpc.erl
@@ -407,7 +407,7 @@ cast(Node, Mod, Fun, Args) ->
true.
-%% Asynchronous broadcast, returns nothing, it's just send'n prey
+%% Asynchronous broadcast, returns nothing, it's just send 'n' pray
-spec abcast(Name, Msg) -> abcast when
Name :: atom(),
Msg :: term().
diff --git a/lib/stdlib/src/gen_server.erl b/lib/stdlib/src/gen_server.erl
index b18d3dc0c0..7f65131f67 100644
--- a/lib/stdlib/src/gen_server.erl
+++ b/lib/stdlib/src/gen_server.erl
@@ -217,7 +217,7 @@ reply({To, Tag}, Reply) ->
catch To ! {Tag, Reply}.
%% -----------------------------------------------------------------
-%% Asyncronous broadcast, returns nothing, it's just send'n prey
+%% Asynchronous broadcast, returns nothing, it's just send 'n' pray
%%-----------------------------------------------------------------
abcast(Name, Request) when is_atom(Name) ->
do_abcast([node() | nodes()], Name, cast_msg(Request)).