aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib
diff options
context:
space:
mode:
authorHenrik Nord <[email protected]>2012-02-16 12:17:29 +0100
committerHenrik Nord <[email protected]>2012-02-16 12:17:37 +0100
commitce5a7298260d97b6d8aadc4eab016fd2ebbe1a02 (patch)
tree8fac04d3aaf5f2fc9c53131d66b968dcbc81bdd3 /lib/stdlib
parent6077599253e275f86ccab155bbb7082fa5253e4b (diff)
parentbc330f609b6ff751eefff4113d54f856832c3f30 (diff)
downloadotp-ce5a7298260d97b6d8aadc4eab016fd2ebbe1a02.tar.gz
otp-ce5a7298260d97b6d8aadc4eab016fd2ebbe1a02.tar.bz2
otp-ce5a7298260d97b6d8aadc4eab016fd2ebbe1a02.zip
Merge branch 'rc/spell-registered' into maint
* rc/spell-registered: Correct spelling of "registered" in various places in the source code OTP-9925
Diffstat (limited to 'lib/stdlib')
-rw-r--r--lib/stdlib/src/gen_fsm.erl2
-rw-r--r--lib/stdlib/src/gen_server.erl2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/stdlib/src/gen_fsm.erl b/lib/stdlib/src/gen_fsm.erl
index 57734a075c..80866c0806 100644
--- a/lib/stdlib/src/gen_fsm.erl
+++ b/lib/stdlib/src/gen_fsm.erl
@@ -320,7 +320,7 @@ name_to_pid(Name) ->
undefined ->
case global:whereis_name(Name) of
undefined ->
- exit(could_not_find_registerd_name);
+ exit(could_not_find_registered_name);
Pid ->
Pid
end;
diff --git a/lib/stdlib/src/gen_server.erl b/lib/stdlib/src/gen_server.erl
index af07bc988a..f720ec15f5 100644
--- a/lib/stdlib/src/gen_server.erl
+++ b/lib/stdlib/src/gen_server.erl
@@ -844,7 +844,7 @@ name_to_pid(Name) ->
undefined ->
case global:whereis_name(Name) of
undefined ->
- exit(could_not_find_registerd_name);
+ exit(could_not_find_registered_name);
Pid ->
Pid
end;