aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/global.h
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/global.h
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/global.h')
-rw-r--r--erts/emulator/beam/global.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/global.h b/erts/emulator/beam/global.h
index 432bdd705b..96da894d90 100644
--- a/erts/emulator/beam/global.h
+++ b/erts/emulator/beam/global.h
@@ -1828,7 +1828,7 @@ erts_alloc_message_heap(Uint size,
#endif
if (size > (Uint) INT_MAX)
- erl_exit(ERTS_ABORT_EXIT, "HUGE size (%bpu)\n", size);
+ erl_exit(ERTS_ABORT_EXIT, "HUGE size (%beu)\n", size);
if (
#if defined(ERTS_SMP)