aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2019-03-26 09:08:31 +0100
committerLukas Larsson <[email protected]>2019-04-09 14:29:10 +0200
commit1e0023daa84adbb2cf68d7d9f8d0e6a0bfadf884 (patch)
tree186cd04b1ec821d6a1e7dc06ac86f3f2e313227a
parent2ae12b2485033f2a2dd458f06f9e78a654ca5117 (diff)
downloadotp-1e0023daa84adbb2cf68d7d9f8d0e6a0bfadf884.tar.gz
otp-1e0023daa84adbb2cf68d7d9f8d0e6a0bfadf884.tar.bz2
otp-1e0023daa84adbb2cf68d7d9f8d0e6a0bfadf884.zip
erts: Fix build of dist_ctrl_get_data return term
-rw-r--r--erts/emulator/beam/dist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/beam/dist.c b/erts/emulator/beam/dist.c
index 8bbe6450eb..a7a3fd4b1e 100644
--- a/erts/emulator/beam/dist.c
+++ b/erts/emulator/beam/dist.c
@@ -3457,6 +3457,7 @@ dist_ctrl_get_data_1(BIF_ALIST_1)
pb->bytes = (byte*) obuf->extp;
pb->flags = 0;
res = make_binary(pb);
+ hp += PROC_BIN_SIZE;
} else {
hp = HAlloc(BIF_P, PROC_BIN_SIZE * 2 + 4 + hsz);
pb = (ProcBin *) (char *) hp;