diff options
author | Björn Gustavsson <[email protected]> | 2012-03-20 12:30:28 +0100 |
---|---|---|
committer | Patrik Nyblom <[email protected]> | 2012-03-22 18:16:15 +0100 |
commit | 062b599f16ff74e0ae6495b09df85bfd8560afdc (patch) | |
tree | 63bf8133e812fd97e74fd427ce270e462bacb90b | |
parent | ee14f5a400b94b7ded000d7d3dc4c47c9ce1d315 (diff) | |
download | otp-062b599f16ff74e0ae6495b09df85bfd8560afdc.tar.gz otp-062b599f16ff74e0ae6495b09df85bfd8560afdc.tar.bz2 otp-062b599f16ff74e0ae6495b09df85bfd8560afdc.zip |
erl_process.c: Fix probe for process exit
-rw-r--r-- | erts/emulator/beam/erl_process.c | 4 |
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 |