aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src
diff options
context:
space:
mode:
authorRaimo Niskanen <[email protected]>2016-08-09 08:59:51 +0200
committerRaimo Niskanen <[email protected]>2016-08-10 09:56:39 +0200
commit3a60545091d3075e23c4a7af8c18b3641bb084e2 (patch)
treec64e28ad5b8b74517533708aedbcf50a9e05f13b /lib/stdlib/src
parentadf04d0c3dbb20e539892a1262078eb5a6538c97 (diff)
downloadotp-3a60545091d3075e23c4a7af8c18b3641bb084e2.tar.gz
otp-3a60545091d3075e23c4a7af8c18b3641bb084e2.tar.bz2
otp-3a60545091d3075e23c4a7af8c18b3641bb084e2.zip
Doc fixes
Diffstat (limited to 'lib/stdlib/src')
-rw-r--r--lib/stdlib/src/gen_statem.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/stdlib/src/gen_statem.erl b/lib/stdlib/src/gen_statem.erl
index 6d7b461ee3..a39503cb6b 100644
--- a/lib/stdlib/src/gen_statem.erl
+++ b/lib/stdlib/src/gen_statem.erl
@@ -1295,7 +1295,7 @@ format_status(Opt, PDict, #{module := Module}, State, Data) ->
_:_ ->
format_status_default(
Opt, State,
- "Module:format_status/2 crashed")
+ atom_to_list(Module) ++ ":format_status/2 crashed")
end;
false ->
format_status_default(Opt, State, Data)
@@ -1303,10 +1303,10 @@ format_status(Opt, PDict, #{module := Module}, State, Data) ->
%% The default Module:format_status/2
format_status_default(Opt, State, Data) ->
- SSD = {State,Data},
+ StateData = {State,Data},
case Opt of
terminate ->
- SSD;
+ StateData;
_ ->
- [{data,[{"State",SSD}]}]
+ [{data,[{"State",StateData}]}]
end.