* reduced_debug_output.h
	(Output_reduced_debug_abbrev_section::failed): Use format for
	gold_warning.
	(Output_reduced_debug_info_section::faild): Likewise.
This commit is contained in:
Ian Lance Taylor 2009-02-04 15:18:51 +00:00
parent 9f08ae4f53
commit 8e94a90cbc
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,11 @@
2009-02-04 Duncan Sands <baldrick@free.fr>
PR 9812
* reduced_debug_output.h
(Output_reduced_debug_abbrev_section::failed): Use format for
gold_warning.
(Output_reduced_debug_info_section::faild): Likewise.
2009-01-31 Mikolaj Zalewski <mikolajz@google.com>
* script.cc (Lazy_demangler): New class.

View File

@ -64,7 +64,7 @@ class Output_reduced_debug_abbrev_section : public Output_section
void
failed(std::string reason)
{
gold_warning(reason.c_str());
gold_warning("%s", reason.c_str());
failed_ = true;
}
@ -110,7 +110,7 @@ class Output_reduced_debug_info_section : public Output_section
void
failed(std::string reason)
{
gold_warning(reason.c_str());
gold_warning("%s", reason.c_str());
this->failed_ = true;
}