aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorFredrik Gustafsson <[email protected]>2013-04-02 12:18:07 +0200
committerFredrik Gustafsson <[email protected]>2013-04-02 12:18:07 +0200
commit36a0b7fb03884f4ab52f1dce4bbd4942b536e1af (patch)
treebf49908b27a2887f2fb2a6fb2c7b425075a205b5 /lib
parent7c639167602897d75ca0a4dd3e500e80894995da (diff)
parent9b120d4291cc03d34cac5f6dec42e81bd63704af (diff)
downloadotp-36a0b7fb03884f4ab52f1dce4bbd4942b536e1af.tar.gz
otp-36a0b7fb03884f4ab52f1dce4bbd4942b536e1af.tar.bz2
otp-36a0b7fb03884f4ab52f1dce4bbd4942b536e1af.zip
Merge branch 'maint'
Diffstat (limited to 'lib')
-rw-r--r--lib/dialyzer/src/dialyzer_analysis_callgraph.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dialyzer/src/dialyzer_analysis_callgraph.erl b/lib/dialyzer/src/dialyzer_analysis_callgraph.erl
index 86618a4915..ca6b403ac9 100644
--- a/lib/dialyzer/src/dialyzer_analysis_callgraph.erl
+++ b/lib/dialyzer/src/dialyzer_analysis_callgraph.erl
@@ -261,8 +261,8 @@ compile_and_store(Files, #analysis_state{codeserver = CServer,
dict:new(), NewFiles),
check_for_duplicate_modules(ModDict);
false ->
- Msg = io_lib:format("Could not scan the following file(s): ~p",
- [lists:flatten(Failed)]),
+ Msg = io_lib:format("Could not scan the following file(s):~n~s",
+ [[Reason || {_Filename, Reason} <- Failed]]),
exit({error, Msg})
end,
{T2, _} = statistics(runtime),