aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2015-03-13 11:17:37 +0100
committerBjörn-Egil Dahlberg <[email protected]>2015-03-13 11:17:37 +0100
commitdee91137e9b8c1f32b788ce5b5b34fcb2076d9ad (patch)
treef2439c7098cb8f9a142ae01417d2b60ee029a4a8
parent59f1846249fbbb76e786d1e73e9be5c72a41fefb (diff)
downloadotp-dee91137e9b8c1f32b788ce5b5b34fcb2076d9ad.tar.gz
otp-dee91137e9b8c1f32b788ce5b5b34fcb2076d9ad.tar.bz2
otp-dee91137e9b8c1f32b788ce5b5b34fcb2076d9ad.zip
erts: Fix typo in copy_struct for halfword emulator
-rw-r--r--erts/emulator/beam/copy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/copy.c b/erts/emulator/beam/copy.c
index 83214aca19..027b85b079 100644
--- a/erts/emulator/beam/copy.c
+++ b/erts/emulator/beam/copy.c
@@ -511,7 +511,7 @@ Eterm copy_struct(Eterm obj, Uint sz, Eterm** hpp, ErlOffHeap* off_heap)
case MAP_HEADER_TAG_HAMT_NODE_BITMAP :
i = 1 + hashmap_bitcount(MAP_HEADER_VAL(hdr));
while (i--) { *htop++ = *objp++; }
- *argp = make_hashmap_rel(tp, dstbase);
+ *argp = make_hashmap_rel(tp, dst_base);
break;
default:
erl_exit(ERTS_ABORT_EXIT, "copy_struct: bad hashmap type %d\n", MAP_HEADER_TYPE(hdr));