aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_trace.c
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2018-04-06 16:38:40 +0200
committerLukas Larsson <[email protected]>2018-04-16 11:57:37 +0200
commitfd3ea59cd3fcd388b6a9c9a1be25a671c0a5a2e3 (patch)
tree8f82a1244cb4759be981be5c5af456e70d4b7946 /erts/emulator/beam/erl_trace.c
parent1e64120115194f8ca60929e7d139fcaae5a9bf43 (diff)
downloadotp-fd3ea59cd3fcd388b6a9c9a1be25a671c0a5a2e3.tar.gz
otp-fd3ea59cd3fcd388b6a9c9a1be25a671c0a5a2e3.tar.bz2
otp-fd3ea59cd3fcd388b6a9c9a1be25a671c0a5a2e3.zip
Fix seq_trace erl_tracer bug
Diffstat (limited to 'erts/emulator/beam/erl_trace.c')
-rw-r--r--erts/emulator/beam/erl_trace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_trace.c b/erts/emulator/beam/erl_trace.c
index 018894f685..1e833539b3 100644
--- a/erts/emulator/beam/erl_trace.c
+++ b/erts/emulator/beam/erl_trace.c
@@ -2593,7 +2593,7 @@ erts_term_to_tracer(Eterm prefix, Eterm t)
state = tp[3];
}
} else {
- if (arityval(tp[0]) == 2 && is_atom(tp[2])) {
+ if (arityval(tp[0]) == 2 && is_atom(tp[1])) {
module = tp[1];
state = tp[2];
}