From 3a60545091d3075e23c4a7af8c18b3641bb084e2 Mon Sep 17 00:00:00 2001 From: Raimo Niskanen Date: Tue, 9 Aug 2016 08:59:51 +0200 Subject: Doc fixes --- system/doc/design_principles/statem.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'system/doc/design_principles') diff --git a/system/doc/design_principles/statem.xml b/system/doc/design_principles/statem.xml index 1351997bc1..f785ca9650 100644 --- a/system/doc/design_principles/statem.xml +++ b/system/doc/design_principles/statem.xml @@ -608,7 +608,7 @@ init(Args) -> callback function terminate(shutdown, State, Data).

- In the following example, function terminate/3 + In this example, function terminate/3 locks the door if it is open, so we do not accidentally leave the door open when the supervision tree terminates:

@@ -1217,7 +1217,8 @@ format_status(Opt, [_PDict,State,Data]) -> Module:format_status/2 function. If you do not, a default implementation is used that does the same as this example function without filtering - the Data term, that is, StateData = {State,Data}. + the Data term, that is, StateData = {State,Data}, + in this example containing sensitive information.

-- cgit v1.2.3