aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-ia64.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2009-03-02 14:47:38 +0000
committerNick Clifton <nickc@redhat.com>2009-03-02 14:47:38 +0000
commit83cf10fd4ad07a883ae243f1323125f60ad92deb (patch)
tree94fc19366da9cb59bcd4e13348fd2b956e1140dd /gas/config/tc-ia64.c
parentc7c1befafb57596e84c5b74953a6946a31c87304 (diff)
downloadgdb-83cf10fd4ad07a883ae243f1323125f60ad92deb.zip
gdb-83cf10fd4ad07a883ae243f1323125f60ad92deb.tar.gz
gdb-83cf10fd4ad07a883ae243f1323125f60ad92deb.tar.bz2
PR 9874
* config/tc-ia64.c (fix_insn): Fix warning reported by -Wformat-security.
Diffstat (limited to 'gas/config/tc-ia64.c')
-rw-r--r--gas/config/tc-ia64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-ia64.c b/gas/config/tc-ia64.c
index 7c369d4..2113fa4 100644
--- a/gas/config/tc-ia64.c
+++ b/gas/config/tc-ia64.c
@@ -11175,7 +11175,7 @@ fix_insn (fixS *fix, const struct ia64_operand *odesc, valueT value)
err = (*odesc->insert) (odesc, value, insn + slot);
if (err)
- as_bad_where (fix->fx_file, fix->fx_line, err);
+ as_bad_where (fix->fx_file, fix->fx_line, "%s", err);
t0 = control_bits | (insn[0] << 5) | (insn[1] << 46);
t1 = ((insn[1] >> 18) & 0x7fffff) | (insn[2] << 23);