aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_message.c
diff options
context:
space:
mode:
authorLuca Favatella <[email protected]>2015-12-06 21:37:42 +0000
committerLuca Favatella <[email protected]>2015-12-08 08:34:34 +0000
commitbc40e21224e871c9bcbb5c2f27854c308bc4fe01 (patch)
tree48c10b263a170ad9857d2f9cf5cfc847021e93b9 /erts/emulator/beam/erl_message.c
parent2c2c82d71dd038b347674c31e6b117bc0fec8e2b (diff)
downloadotp-bc40e21224e871c9bcbb5c2f27854c308bc4fe01.tar.gz
otp-bc40e21224e871c9bcbb5c2f27854c308bc4fe01.tar.bz2
otp-bc40e21224e871c9bcbb5c2f27854c308bc4fe01.zip
Fix compilation with `--enable-vm-probes`
... broken by 3ac08f9b. Compilation error: ``` beam/erl_message.c: In function 'erts_send_message': beam/erl_message.c:753:56: error: macro "copy_struct" requires 4 arguments, but only 3 given utag = copy_struct(DT_UTAG(sender), dt_utag_size, ohp); ^ beam/erl_message.c:753:10: error: 'copy_struct' undeclared (first use in this function) utag = copy_struct(DT_UTAG(sender), dt_utag_size, ohp); ^ beam/erl_message.c:753:10: note: each undeclared identifier is reported only once for each function it appears in ```
Diffstat (limited to 'erts/emulator/beam/erl_message.c')
-rw-r--r--erts/emulator/beam/erl_message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_message.c b/erts/emulator/beam/erl_message.c
index 1811651a58..d593108f8e 100644
--- a/erts/emulator/beam/erl_message.c
+++ b/erts/emulator/beam/erl_message.c
@@ -750,7 +750,7 @@ erts_send_message(Process* sender,
if (is_immed(DT_UTAG(sender)))
utag = DT_UTAG(sender);
else
- utag = copy_struct(DT_UTAG(sender), dt_utag_size, ohp);
+ utag = copy_struct(DT_UTAG(sender), dt_utag_size, &hp, ohp);
#ifdef DTRACE_TAG_HARDDEBUG
erts_fprintf(stderr,
"Dtrace -> (%T) Spreading tag (%T) with "