aboutsummaryrefslogtreecommitdiff
path: root/opcodes/bfin-dis.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-01-14 19:35:12 +0000
committerMike Frysinger <vapier@gentoo.org>2009-01-14 19:35:12 +0000
commit4ca47a519d18f4a3b14bad8bff554a8d450c2517 (patch)
tree612f957e57c43292759ac350dc7c50b2d4fe1b5c /opcodes/bfin-dis.c
parent7b6598a4799b37eef9ceefd02a6b7a30c714bbc9 (diff)
downloadgdb-4ca47a519d18f4a3b14bad8bff554a8d450c2517.zip
gdb-4ca47a519d18f4a3b14bad8bff554a8d450c2517.tar.gz
gdb-4ca47a519d18f4a3b14bad8bff554a8d450c2517.tar.bz2
2009-01-14 Mike Frysinger <vapier@gentoo.org>
* bfin-dis.c (OUTS): Use "%s" as format string.
Diffstat (limited to 'opcodes/bfin-dis.c')
-rw-r--r--opcodes/bfin-dis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/bfin-dis.c b/opcodes/bfin-dis.c
index e68b7d5..711fbf8 100644
--- a/opcodes/bfin-dis.c
+++ b/opcodes/bfin-dis.c
@@ -481,7 +481,7 @@ static enum machine_registers decode_allregs[] =
/* (arch.pm)arch_disassembler_functions. */
#ifndef OUTS
-#define OUTS(p, txt) ((p) ? (((txt)[0]) ? (p->fprintf_func)(p->stream, txt) :0) :0)
+#define OUTS(p, txt) ((p) ? (((txt)[0]) ? (p->fprintf_func)(p->stream, "%s", txt) :0) :0)
#endif
static void