aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_printf_term.c
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2015-02-03 15:00:44 +0100
committerBjörn-Egil Dahlberg <[email protected]>2015-03-12 19:15:25 +0100
commite179bd5be24b6b07cc4e8d0e58211fd62599ee9d (patch)
treedb45678a0cd7db4bdb83ebb0a8deb5960669586d /erts/emulator/beam/erl_printf_term.c
parent0d10df770cfd1407bb79c31da34108dda1b868a5 (diff)
downloadotp-e179bd5be24b6b07cc4e8d0e58211fd62599ee9d.tar.gz
otp-e179bd5be24b6b07cc4e8d0e58211fd62599ee9d.tar.bz2
otp-e179bd5be24b6b07cc4e8d0e58211fd62599ee9d.zip
erts: Fix hashmap head array printf term
Diffstat (limited to 'erts/emulator/beam/erl_printf_term.c')
-rw-r--r--erts/emulator/beam/erl_printf_term.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_printf_term.c b/erts/emulator/beam/erl_printf_term.c
index f07fe30cf6..b07b7785dd 100644
--- a/erts/emulator/beam/erl_printf_term.c
+++ b/erts/emulator/beam/erl_printf_term.c
@@ -594,6 +594,7 @@ print_term(fmtfn_t fn, void* arg, Eterm obj, long *dcount,
head = hashmap_val(wobj);
mapval = MAP_HEADER_VAL(*head);
switch (MAP_HEADER_TYPE(*head)) {
+ case MAP_HEADER_TAG_HAMT_HEAD_ARRAY:
case MAP_HEADER_TAG_HAMT_HEAD_BITMAP:
PRINT_STRING(res, fn, arg, "#<");
PRINT_UWORD(res, fn, arg, 'x', 0, 1, mapval);