aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_process.c
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2014-03-25 09:44:16 +0100
committerLukas Larsson <[email protected]>2014-03-25 09:44:16 +0100
commit1eee4ded1b435d3728fc75ad384626c80025bb3b (patch)
tree3258699aad3a77eb06f416b6187473848131c219 /erts/emulator/beam/erl_process.c
parentc7df173fbd45965d78c67dea617ae7b9bbe23089 (diff)
parenteffb1c0a593e71664dec5b06da72518e74254c1b (diff)
downloadotp-1eee4ded1b435d3728fc75ad384626c80025bb3b.tar.gz
otp-1eee4ded1b435d3728fc75ad384626c80025bb3b.tar.bz2
otp-1eee4ded1b435d3728fc75ad384626c80025bb3b.zip
Merge branch 'paulgray/dtrace_snprintf_fix/OTP-11816'
* paulgray/dtrace_snprintf_fix/OTP-11816: Pass full strings to DTrace probes
Diffstat (limited to 'erts/emulator/beam/erl_process.c')
-rw-r--r--erts/emulator/beam/erl_process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_process.c b/erts/emulator/beam/erl_process.c
index 37e1d07107..8bf0cc9491 100644
--- a/erts/emulator/beam/erl_process.c
+++ b/erts/emulator/beam/erl_process.c
@@ -11313,7 +11313,7 @@ send_exit_signal(Process *c_p, /* current process if and only
dtrace_pid_str(from, sender_str);
dtrace_proc_str(rp, receiver_str);
- erts_snprintf(reason_buf, sizeof(reason_buf) - 1, "%T", reason);
+ erts_snprintf(reason_buf, sizeof(DTRACE_CHARBUF_NAME(reason_buf)) - 1, "%T", reason);
DTRACE3(process_exit_signal, sender_str, receiver_str, reason_buf);
}
#endif