aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Weißl <[email protected]>2013-03-10 15:54:19 +0100
committerJohannes Weißl <[email protected]>2013-08-01 22:14:48 +0200
commitafb91b3fc36e57997364f20abaef9d4528113e91 (patch)
tree95a9c9bb7d74bba449b781959e50b97bf182bfc8
parentd9f1c1f1bc658d133b9198e4564e419597793cb4 (diff)
downloadotp-afb91b3fc36e57997364f20abaef9d4528113e91.tar.gz
otp-afb91b3fc36e57997364f20abaef9d4528113e91.tar.bz2
otp-afb91b3fc36e57997364f20abaef9d4528113e91.zip
Fix typo in abcast() function comment
-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)).