diff options
author | Fredrik Gustafsson <[email protected]> | 2013-05-06 17:43:09 +0200 |
---|---|---|
committer | Fredrik Gustafsson <[email protected]> | 2013-05-06 17:43:09 +0200 |
commit | 22f01b438963ac158af3d8066e58ce54be22d2de (patch) | |
tree | b6f82d7f6a23a39a1bed0e9bad11075b775833ae /erts/emulator/beam/erl_bif_trace.c | |
parent | 5bb42a3018c6d6e1bcaa382db8b873d1cef3c086 (diff) | |
parent | ea3024202d8dfedfafa62a15286157d3843957cb (diff) | |
download | otp-22f01b438963ac158af3d8066e58ce54be22d2de.tar.gz otp-22f01b438963ac158af3d8066e58ce54be22d2de.tar.bz2 otp-22f01b438963ac158af3d8066e58ce54be22d2de.zip |
Merge branch 'maint'
Diffstat (limited to 'erts/emulator/beam/erl_bif_trace.c')
-rw-r--r-- | erts/emulator/beam/erl_bif_trace.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/erts/emulator/beam/erl_bif_trace.c b/erts/emulator/beam/erl_bif_trace.c index 41c98bbffb..559cb3efa1 100644 --- a/erts/emulator/beam/erl_bif_trace.c +++ b/erts/emulator/beam/erl_bif_trace.c @@ -1224,9 +1224,7 @@ trace_info_func(Process* p, Eterm func_spec, Eterm key) match_spec_meta = NIL; } if (r & FUNC_TRACE_COUNT_TRACE) { - c = count < 0 ? - erts_make_integer(-count-1, p) : - erts_make_integer(count, p); + c = erts_make_integer(count, p); } if (r & FUNC_TRACE_TIME_TRACE) { ct = call_time; |