mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-19 17:18:24 +08:00
PR 9812
* 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:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user