2009-04-22 Nathan Sidwell * config/tc-mips.c (macro_end, md_convert_frag): Use '%s' for as_bad calls to silence compiler warning. Index: config/tc-mips.c =================================================================== RCS file: /cvs/src/src/gas/config/tc-mips.c,v retrieving revision 1.405 diff -c -3 -p -r1.405 tc-mips.c *** config/tc-mips.c 9 Apr 2009 15:55:59 -0000 1.405 --- config/tc-mips.c 22 Apr 2009 11:39:45 -0000 *************** macro_end (void) *** 3575,3581 **** warning now. */ const char *msg = macro_warning (subtype); if (msg != 0) ! as_warn (msg); } else { --- 3575,3581 ---- warning now. */ const char *msg = macro_warning (subtype); if (msg != 0) ! as_warn ("%s", msg); } else { *************** md_convert_frag (bfd *abfd ATTRIBUTE_UNU *** 14633,14639 **** { const char *msg = macro_warning (fragp->fr_subtype); if (msg != 0) ! as_warn_where (fragp->fr_file, fragp->fr_line, msg); } /* Go through all the fixups for the first sequence. Disable them --- 14633,14639 ---- { const char *msg = macro_warning (fragp->fr_subtype); if (msg != 0) ! as_warn_where (fragp->fr_file, fragp->fr_line, "%s", msg); } /* Go through all the fixups for the first sequence. Disable them