aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sasl/src/systools_make.erl
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2014-03-26 10:07:51 +0100
committerSiri Hansen <[email protected]>2014-03-26 10:08:02 +0100
commit3dd90c7ee48fc615bb74805fc13e5f9498fc933c (patch)
treeffcdf8327c8553d563b2aa4c63bbee831fc35cc4 /lib/sasl/src/systools_make.erl
parentdbb4cdad43a980e65546fdb572bf0f5cf007fd5a (diff)
parentf149194f227fd593757ff2c750b82b62f9a6e8aa (diff)
downloadotp-3dd90c7ee48fc615bb74805fc13e5f9498fc933c.tar.gz
otp-3dd90c7ee48fc615bb74805fc13e5f9498fc933c.tar.bz2
otp-3dd90c7ee48fc615bb74805fc13e5f9498fc933c.zip
Merge branch 'dumbbell/function_clause-in-systools_make-format_error'
* dumbbell/function_clause-in-systools_make-format_error: sasl: Fix crash in systools_make:format_error/1 OTP-11819
Diffstat (limited to 'lib/sasl/src/systools_make.erl')
-rw-r--r--lib/sasl/src/systools_make.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sasl/src/systools_make.erl b/lib/sasl/src/systools_make.erl
index 3d370a93a5..e5da797efb 100644
--- a/lib/sasl/src/systools_make.erl
+++ b/lib/sasl/src/systools_make.erl
@@ -2233,7 +2233,7 @@ format_error({undefined_applications,Apps}) ->
io_lib:format("Undefined applications: ~p~n",[Apps]);
format_error({duplicate_modules,Dups}) ->
io_lib:format("Duplicated modules: ~n~ts",
- [map(fun({{Mod,_,App1,_,_},{Mod,_,App2,_,_}}) ->
+ [map(fun({{Mod,App1,_},{Mod,App2,_}}) ->
io_lib:format("\t~w specified in ~w and ~w~n",
[Mod,App1,App2])
end, Dups)]);