aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2013-02-14 11:55:58 +0100
committerBjörn Gustavsson <[email protected]>2013-02-14 11:55:58 +0100
commit6c9569726241220a68a25b446b4c62ad7c925822 (patch)
tree1db22d3fa59590c4349d73309a64139ecf68858e
parentaadc966c0350dd1a07574b925546488ce82ce08d (diff)
parent3cfff07ca3c14fc30b3fc432678a0166fbb9908a (diff)
downloadotp-6c9569726241220a68a25b446b4c62ad7c925822.tar.gz
otp-6c9569726241220a68a25b446b4c62ad7c925822.tar.bz2
otp-6c9569726241220a68a25b446b4c62ad7c925822.zip
Merge branch 'bjorn/remove-tuple-funs/OTP-10170'
* bjorn/remove-tuple-funs/OTP-10170: si_sasl_supp: Eliminate use of tuple fun pman: Eliminate use of tuple fun
-rw-r--r--lib/pman/src/pman_win.erl2
-rw-r--r--lib/sasl/src/si_sasl_supp.erl2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/pman/src/pman_win.erl b/lib/pman/src/pman_win.erl
index 350bc2dd7f..a6ef6fd13e 100644
--- a/lib/pman/src/pman_win.erl
+++ b/lib/pman/src/pman_win.erl
@@ -546,7 +546,7 @@ name(Pid) ->
%%
module_data(ModuleName) ->
- vformat("", catch apply({ModuleName, module_info},[])).
+ vformat("", catch apply(ModuleName, module_info, [])).
diff --git a/lib/sasl/src/si_sasl_supp.erl b/lib/sasl/src/si_sasl_supp.erl
index 9c96d11c28..97f906a5f8 100644
--- a/lib/sasl/src/si_sasl_supp.erl
+++ b/lib/sasl/src/si_sasl_supp.erl
@@ -360,7 +360,7 @@ ppi_impl(XPid) ->
print_info(Device, Pid, {Module, Func}, Opt, Data) ->
case erlang:function_exported(Module, Func, 2) of
true ->
- case catch apply({Module, Func}, [Opt, Data]) of
+ case catch apply(Module, Func, [Opt, Data]) of
Format when is_list(Format) ->
format_lib_supp:print_info(Device, 79,
add_pid_to_format(Pid, Format)),