aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/dist.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/dist.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/dist.c')
-rw-r--r--erts/emulator/beam/dist.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/erts/emulator/beam/dist.c b/erts/emulator/beam/dist.c
index 02910fad90..8b549d254c 100644
--- a/erts/emulator/beam/dist.c
+++ b/erts/emulator/beam/dist.c
@@ -1,7 +1,7 @@
/*
* %CopyrightBegin%
*
- * Copyright Ericsson AB 1996-2010. All Rights Reserved.
+ * Copyright Ericsson AB 1996-2011. All Rights Reserved.
*
* The contents of this file are subject to the Erlang Public License,
* Version 1.1, (the "License"); you may not use this file except in
@@ -1685,7 +1685,7 @@ dist_port_command(Port *prt, ErtsDistOutputBuf *obuf)
if (size > (Uint) INT_MAX)
erl_exit(ERTS_ABORT_EXIT,
"Absurdly large distribution output data buffer "
- "(%bpu bytes) passed.\n",
+ "(%beu bytes) passed.\n",
size);
prt->caller = NIL;
@@ -1712,7 +1712,7 @@ dist_port_commandv(Port *prt, ErtsDistOutputBuf *obuf)
if (size > (Uint) INT_MAX)
erl_exit(ERTS_ABORT_EXIT,
"Absurdly large distribution output data buffer "
- "(%bpu bytes) passed.\n",
+ "(%beu bytes) passed.\n",
size);
iov[0].iov_base = NULL;