aboutsummaryrefslogtreecommitdiffstats
path: root/src/rcl_prv_config.erl
diff options
context:
space:
mode:
authorTristan Sloughter <[email protected]>2013-03-12 18:49:31 -0500
committerTristan Sloughter <[email protected]>2013-03-13 13:43:01 -0500
commitb69815402b3456699a47273a8c731850fb6b7871 (patch)
tree6c491fddb665ae86cb6113749549b7ca635ffc73 /src/rcl_prv_config.erl
parent937c776c131c9e2e04aefc6b4f320e37b35115c2 (diff)
downloadrelx-b69815402b3456699a47273a8c731850fb6b7871.tar.gz
relx-b69815402b3456699a47273a8c731850fb6b7871.tar.bz2
relx-b69815402b3456699a47273a8c731850fb6b7871.zip
update do type spec for undefined config
Diffstat (limited to 'src/rcl_prv_config.erl')
-rw-r--r--src/rcl_prv_config.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rcl_prv_config.erl b/src/rcl_prv_config.erl
index 60655b1..1027edf 100644
--- a/src/rcl_prv_config.erl
+++ b/src/rcl_prv_config.erl
@@ -54,8 +54,8 @@ do(State) ->
-spec format_error(Reason::term()) -> iolist().
format_error({consult, ConfigFile, Reason}) ->
- io_lib:format("Unable to read file ~s: ~s", [ConfigFile,
- file:format_error(Reason)]);
+ io_lib:format("Unable to read file ~s: ~s", [ConfigFile,
+ file:format_error(Reason)]);
format_error({invalid_term, Term}) ->
io_lib:format("Invalid term in config file: ~p", [Term]).