diff options
author | Lars Thorsen <[email protected]> | 2010-10-08 10:58:38 +0200 |
---|---|---|
committer | Lars Thorsen <[email protected]> | 2010-12-01 10:50:55 +0100 |
commit | a9db09d12220f9eac9d3ddd4265215ac48bebd3b (patch) | |
tree | c2584c8f13d1e2e7898638eeddedfea935a69a80 /lib/et/src/et_selector.erl | |
parent | bfa69f08f63978db55e31931db1c6c6af3e7b4ae (diff) | |
download | otp-a9db09d12220f9eac9d3ddd4265215ac48bebd3b.tar.gz otp-a9db09d12220f9eac9d3ddd4265215ac48bebd3b.tar.bz2 otp-a9db09d12220f9eac9d3ddd4265215ac48bebd3b.zip |
Fix error when using module et in trace patterns
Diffstat (limited to 'lib/et/src/et_selector.erl')
-rw-r--r-- | lib/et/src/et_selector.erl | 4 |
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. |