aboutsummaryrefslogtreecommitdiff
path: root/opcodes/sh-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/sh-dis.c
parent3a3617baaa1c87366cd73d970524b17adb262b57 (diff)
downloadgdb-488916061e57e6b83b8229475789a78b8f7b5fb1.zip
gdb-488916061e57e6b83b8229475789a78b8f7b5fb1.tar.gz
gdb-488916061e57e6b83b8229475789a78b8f7b5fb1.tar.bz2
* 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/sh-dis.c')
-rw-r--r--opcodes/sh-dis.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/opcodes/sh-dis.c b/opcodes/sh-dis.c
index e531558..fa55f8a 100644
--- a/opcodes/sh-dis.c
+++ b/opcodes/sh-dis.c
@@ -356,10 +356,10 @@ print_insn_ppi (int field_b, struct disassemble_info *info)
print_dsp_reg (field_b & 0xf, fprintf_fn, stream);
break;
case DSP_REG_X:
- fprintf_fn (stream, sx_tab[(field_b >> 6) & 3]);
+ fprintf_fn (stream, "%s", sx_tab[(field_b >> 6) & 3]);
break;
case DSP_REG_Y:
- fprintf_fn (stream, sy_tab[(field_b >> 4) & 3]);
+ fprintf_fn (stream, "%s", sy_tab[(field_b >> 4) & 3]);
break;
case A_MACH:
fprintf_fn (stream, "mach");