aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/src/ct_hooks.erl
diff options
context:
space:
mode:
authorPeter Andersson <[email protected]>2016-03-05 17:09:56 +0100
committerPeter Andersson <[email protected]>2016-03-05 17:09:56 +0100
commit13051baf9f4844d4236f221311f03135144ade88 (patch)
tree85f41717ee56841d6c7fca08362226b6a0edb501 /lib/common_test/src/ct_hooks.erl
parent3e720193641aa92d0082586ba64fc75cda32103c (diff)
downloadotp-13051baf9f4844d4236f221311f03135144ade88.tar.gz
otp-13051baf9f4844d4236f221311f03135144ade88.tar.bz2
otp-13051baf9f4844d4236f221311f03135144ade88.zip
Add missing internal hook functions
Diffstat (limited to 'lib/common_test/src/ct_hooks.erl')
-rw-r--r--lib/common_test/src/ct_hooks.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/common_test/src/ct_hooks.erl b/lib/common_test/src/ct_hooks.erl
index b604074d12..83ad33fdd8 100644
--- a/lib/common_test/src/ct_hooks.erl
+++ b/lib/common_test/src/ct_hooks.erl
@@ -381,10 +381,10 @@ pos(Id,[_|Rest],Num) ->
catch_apply(M,F,A, Default) ->
try
- apply(M,F,A)
+ erlang:apply(M,F,A)
catch _:Reason ->
case erlang:get_stacktrace() of
- %% Return the default if it was the CTH module which did not have the function.
+ %% Return the default if it was the CTH module which did not have the function.
[{M,F,A,_}|_] when Reason == undef ->
Default;
Trace ->