diff options
author | Nick Clifton <nickc@redhat.com> | 2009-03-02 14:47:38 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2009-03-02 14:47:38 +0000 |
commit | 83cf10fd4ad07a883ae243f1323125f60ad92deb (patch) | |
tree | 94fc19366da9cb59bcd4e13348fd2b956e1140dd /gas/config/tc-ia64.c | |
parent | c7c1befafb57596e84c5b74953a6946a31c87304 (diff) | |
download | gdb-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.c | 2 |
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); |