aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_process_dump.c
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2011-03-16 16:13:20 +0100
committerSverker Eriksson <[email protected]>2011-03-16 19:25:26 +0100
commit261a3e9b465a1d9cbd0361c5d3801bf63950e623 (patch)
tree87eb67de5098ca617f2960c9c0b416b4e1b7ad63 /erts/emulator/beam/erl_process_dump.c
parent5fe2a6bd99fcc84cf7eb7260e1ccda29ff8e9255 (diff)
downloadotp-261a3e9b465a1d9cbd0361c5d3801bf63950e623.tar.gz
otp-261a3e9b465a1d9cbd0361c5d3801bf63950e623.tar.bz2
otp-261a3e9b465a1d9cbd0361c5d3801bf63950e623.zip
erts_printf %be to print integers of size Eterm
Existing %bp to print pointer size integers does not work in halfword emulator to print Eterm size integers.
Diffstat (limited to 'erts/emulator/beam/erl_process_dump.c')
-rw-r--r--erts/emulator/beam/erl_process_dump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/beam/erl_process_dump.c b/erts/emulator/beam/erl_process_dump.c
index 68fda01597..5410bcd495 100644
--- a/erts/emulator/beam/erl_process_dump.c
+++ b/erts/emulator/beam/erl_process_dump.c
@@ -194,7 +194,7 @@ dump_element(int to, void *to_arg, Eterm x)
} else if (is_pid(x)) {
erts_print(to, to_arg, "P%T", x);
} else if (is_port(x)) {
- erts_print(to, to_arg, "p<%bpu.%bpu>",
+ erts_print(to, to_arg, "p<%beu.%beu>",
port_channel_no(x), port_number(x));
} else if (is_nil(x)) {
erts_putc(to, to_arg, 'N');
@@ -376,7 +376,7 @@ heap_dump(int to, void *to_arg, Eterm x)
erts_print(to, to_arg, "P%T\n", x);
*ptr = OUR_NIL;
} else if (is_external_port_header(hdr)) {
- erts_print(to, to_arg, "p<%bpu.%bpu>\n",
+ erts_print(to, to_arg, "p<%beu.%beu>\n",
port_channel_no(x), port_number(x));
*ptr = OUR_NIL;
} else {