aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <dgilbert@redhat.com>2020-10-22 12:00:10 +0100
committerNick Clifton <nickc@redhat.com>2020-10-22 12:00:10 +0100
commit777cd7ab3febadcdad52e3231e960af86e8742da (patch)
tree1108766883d3eaaf421508f8e63222d9643730a8 /sim/arm/armos.c
parentgdb/fortran: add support for parsing array strides in expressions (diff)
downloadbinutils-gdb-777cd7ab3febadcdad52e3231e960af86e8742da.tar.gz
binutils-gdb-777cd7ab3febadcdad52e3231e960af86e8742da.tar.bz2
binutils-gdb-777cd7ab3febadcdad52e3231e960af86e8742da.zip
Fix printf formatting errors where "0x" is used as a prefix for a decimal number.
bfd * po/es.po: Fix printf format binutils * windmc.c: Fix printf format gas * config/tc-arc.c: Fix printf format opcodes * po/es.po: Fix printf format sim * arm/armos.c: Fix printf format * ppc/emul_netbsd.c: Fix printf format -- Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK
Diffstat (limited to 'sim/arm/armos.c')
-rw-r--r--sim/arm/armos.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/arm/armos.c b/sim/arm/armos.c
index 76c449b73d0..2ce7051a44c 100644
--- a/sim/arm/armos.c
+++ b/sim/arm/armos.c
@@ -293,8 +293,8 @@ SWIread (ARMul_State * state, ARMword f, ARMword ptr, ARMword len)
{
sim_callback->printf_filtered
(sim_callback,
- "sim: Unable to read 0x%ulx bytes - out of memory\n",
- len);
+ "sim: Unable to read 0x%lx bytes - out of memory\n",
+ (long)len);
return;
}