aboutsummaryrefslogtreecommitdiff
path: root/sh4-dis.c
diff options
context:
space:
mode:
Diffstat (limited to 'sh4-dis.c')
-rw-r--r--sh4-dis.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sh4-dis.c b/sh4-dis.c
index 41fd8667b8..078a6b206b 100644
--- a/sh4-dis.c
+++ b/sh4-dis.c
@@ -1493,10 +1493,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");