aboutsummaryrefslogtreecommitdiff
path: root/gold/reduced_debug_output.h
diff options
context:
space:
mode:
Diffstat (limited to 'gold/reduced_debug_output.h')
-rw-r--r--gold/reduced_debug_output.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gold/reduced_debug_output.h b/gold/reduced_debug_output.h
index bd8da22..d168228 100644
--- a/gold/reduced_debug_output.h
+++ b/gold/reduced_debug_output.h
@@ -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;
}