aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_process.c
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2012-03-20 12:30:28 +0100
committerPatrik Nyblom <[email protected]>2012-03-22 18:16:15 +0100
commit062b599f16ff74e0ae6495b09df85bfd8560afdc (patch)
tree63bf8133e812fd97e74fd427ce270e462bacb90b /erts/emulator/beam/erl_process.c
parentee14f5a400b94b7ded000d7d3dc4c47c9ce1d315 (diff)
downloadotp-062b599f16ff74e0ae6495b09df85bfd8560afdc.tar.gz
otp-062b599f16ff74e0ae6495b09df85bfd8560afdc.tar.bz2
otp-062b599f16ff74e0ae6495b09df85bfd8560afdc.zip
erl_process.c: Fix probe for process exit
Diffstat (limited to 'erts/emulator/beam/erl_process.c')
-rw-r--r--erts/emulator/beam/erl_process.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/beam/erl_process.c b/erts/emulator/beam/erl_process.c
index ff4e9c3d88..95d408f79d 100644
--- a/erts/emulator/beam/erl_process.c
+++ b/erts/emulator/beam/erl_process.c
@@ -8439,10 +8439,10 @@ erts_do_exit_process(Process* p, Eterm reason)
#ifdef USE_VM_PROBES
if (DTRACE_ENABLED(process_exit)) {
DTRACE_CHARBUF(process_buf, DTRACE_TERM_BUF_SIZE);
- DTRACE_CHARBUF(reason_buf, 256);
+ DTRACE_CHARBUF(reason_buf, DTRACE_TERM_BUF_SIZE);
dtrace_proc_str(p, process_buf);
- erts_snprintf(reason_buf, sizeof(reason_buf) - 1, "%T", reason);
+ erts_snprintf(reason_buf, DTRACE_TERM_BUF_SIZE - 1, "%T", reason);
DTRACE2(process_exit, process_buf, reason_buf);
}
#endif