diff options
author | Alan Modra <amodra@gmail.com> | 2012-08-01 00:41:35 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2012-08-01 00:41:35 +0000 |
commit | 488916061e57e6b83b8229475789a78b8f7b5fb1 (patch) | |
tree | e8301eef615a026bb5a56f653774953e6272890b /opcodes/sh-dis.c | |
parent | 3a3617baaa1c87366cd73d970524b17adb262b57 (diff) | |
download | gdb-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.c | 4 |
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"); |