From 913d08334a78012ba496b669bc0077a98d6e9b3c Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Thu, 25 Nov 1999 16:58:32 +0000 Subject: c-common.c (check_format_info): Don't call a variadic function with a non-literal format string. * c-common.c (check_format_info): Don't call a variadic function with a non-literal format string. * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise. * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else, pedantic_lvalue_warning, error_init, pedwarn_init, warning_init): Likewise. * cccp.c (check_macro_name, do_xifdef, vwarning_with_line): Likewise. * collect2.c (collect_wait): Likewise. * dbxout.c (dbxout_type): Likewise. * gcc.c (do_spec_1): Likewise. * genemit.c (gen_insn, gen_expand): Likewise. * genrecog.c (write_switch, write_subroutine): Likewise. * mips-tfile.c (catch_signal, botch): Likewise. * print-rtl.c (print_rtx): Likewise. * toplev.c (default_print_error_function, report_error_function, _fatal_insn): Likewise. From-SVN: r30666 --- gcc/mips-tfile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc/mips-tfile.c') diff --git a/gcc/mips-tfile.c b/gcc/mips-tfile.c index e6042f8..b83dc52 100644 --- a/gcc/mips-tfile.c +++ b/gcc/mips-tfile.c @@ -5027,7 +5027,7 @@ catch_signal (signum) int signum; { (void) signal (signum, SIG_DFL); /* just in case... */ - fatal (strsignal(signum)); + fatal ("%s", strsignal(signum)); } /* Print a fatal error message. NAME is the text. @@ -5630,7 +5630,7 @@ void botch (s) const char *s; { - fatal (s); + fatal ("%s", s); } -- cgit v1.1