summaryrefslogtreecommitdiff
path: root/opcodes/h8300-dis.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2012-08-01 00:41:35 +0000
committerAlan Modra <amodra@gmail.com>2012-08-01 00:41:35 +0000
commit488916061e57e6b83b8229475789a78b8f7b5fb1 (patch)
treee8301eef615a026bb5a56f653774953e6272890b /opcodes/h8300-dis.c
parent3a3617baaa1c87366cd73d970524b17adb262b57 (diff)
downloadbinutils-gdb-488916061e57e6b83b8229475789a78b8f7b5fb1.tar.gz
* h8300-dis.c: Fix printf arg warnings.
* i960-dis.c: Likewise. * mips-dis.c: Likewise. * pdp11-dis.c: Likewise. * sh-dis.c: Likewise. * v850-dis.c: Likewise. * configure.in: Formatting. * configure: Regenerate. * rl78-decode.c: Regenerate. * po/POTFILES.in: Regenerate.
Diffstat (limited to 'opcodes/h8300-dis.c')
-rw-r--r--opcodes/h8300-dis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/h8300-dis.c b/opcodes/h8300-dis.c
index 0d260de68e0..3fc0b09b8dc 100644
--- a/opcodes/h8300-dis.c
+++ b/opcodes/h8300-dis.c
@@ -298,7 +298,7 @@ print_one_arg (disassemble_info *info,
outfn (stream, "@(0x%x:%d,%s.l)", cst, cstlen, lregnames[rdisp_n]);
else if (x & CTRL)
- outfn (stream, cregnames[rn]);
+ outfn (stream, "%s", cregnames[rn]);
else if ((x & MODE) == CCR)
outfn (stream, "ccr");