diff options
author | Alan Modra <amodra@bigpond.net.au> | 2012-08-01 00:41:34 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2012-08-01 00:41:34 +0000 |
commit | 0cceaa9eb78800bb84e57ff515a9f3d0fc1c6d7f (patch) | |
tree | aa1bee1d2145b1c5bb8f5806df474ae48041102d /opcodes/sh-dis.c | |
parent | 62492a54ad08f92a81b292bff690855d2104fca3 (diff) | |
download | binutils-redhat-0cceaa9eb78800bb84e57ff515a9f3d0fc1c6d7f.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/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 e531558dd8..fa55f8af0f 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"); |