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 | |
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.
-rw-r--r-- | gas/ChangeLog | 6 | ||||
-rw-r--r-- | gas/config/tc-ia64.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index bcf762d..7bd0ec2 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2009-03-02 Nick Clifton <nickc@redhat.com> + + PR 9874 + * config/tc-ia64.c (fix_insn): Fix warning reported by + -Wformat-security. + 2009-03-02 Qinwei <qinwei@sunnorth.com.cn> * config/tc-score7.c: New file. 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); |