From c97fbc9fea495f37ca79e1d57de8299da8d56246 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 14 Jan 2009 19:35:12 +0000 Subject: [PATCH] 2009-01-14 Mike Frysinger * bfin-dis.c (OUTS): Use "%s" as format string. --- opcodes/ChangeLog | 4 ++++ opcodes/bfin-dis.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 80a4f0e5c..1d50cc1b0 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,7 @@ +2009-01-14 Mike Frysinger + + * bfin-dis.c (OUTS): Use "%s" as format string. + 2009-01-13 H.J. Lu * i386-gen.c (cpu_flag_init): Remove a white space. diff --git a/opcodes/bfin-dis.c b/opcodes/bfin-dis.c index e68b7d5e8..711fbf85c 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 -- 2.11.4.GIT