aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLars Thorsen <[email protected]>2010-12-01 10:52:20 +0100
committerLars Thorsen <[email protected]>2010-12-01 10:52:20 +0100
commitbd5552f188fefa16ab54de64419b675799e6b500 (patch)
treec2584c8f13d1e2e7898638eeddedfea935a69a80 /lib
parentbfa69f08f63978db55e31931db1c6c6af3e7b4ae (diff)
parenta9db09d12220f9eac9d3ddd4265215ac48bebd3b (diff)
downloadotp-bd5552f188fefa16ab54de64419b675799e6b500.tar.gz
otp-bd5552f188fefa16ab54de64419b675799e6b500.tar.bz2
otp-bd5552f188fefa16ab54de64419b675799e6b500.zip
Merge branch 'lars/et/use-et-in-trace-pattern/OTP-8904' into dev
* lars/et/use-et-in-trace-pattern/OTP-8904: Fix error when using module et in trace patterns
Diffstat (limited to 'lib')
-rw-r--r--lib/et/src/et_selector.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/et/src/et_selector.erl b/lib/et/src/et_selector.erl
index f39f21aa70..c8e9c907b2 100644
--- a/lib/et/src/et_selector.erl
+++ b/lib/et/src/et_selector.erl
@@ -115,13 +115,13 @@ change_pattern({Mod, Pattern}) when is_atom(Mod) ->
old_ctp({Mod, _Fun, Args}) ->
case Mod of
- et -> ignore;
+ et -> {ok, ignore};
_ -> dbg:ctp({Mod, report_event, Args})
end.
old_tp({Mod, _Fun, Args}, Pattern) ->
case Mod of
- et -> ignore;
+ et -> {ok, ignore};
_ -> dbg:tp({Mod, report_event, Args}, Pattern)
end.