X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gold%2Freduced_debug_output.h;h=d1682288c3b326d4f5a7ee00c93a19e8fe922806;hb=43bb514a1cc9641dfdb0f3ac20de48e2c17c0135;hp=bd8da2237c2f74f197000bac1619cfaaca1817d9;hpb=62b01cb5034c3694d07c60158529f18cb301bb5c;p=deliverable%2Fbinutils-gdb.git diff --git a/gold/reduced_debug_output.h b/gold/reduced_debug_output.h index bd8da2237c..d1682288c3 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; }