PR 9812
authorIan Lance Taylor <ian@airs.com>
Wed, 4 Feb 2009 15:18:51 +0000 (15:18 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 4 Feb 2009 15:18:51 +0000 (15:18 +0000)
* reduced_debug_output.h
(Output_reduced_debug_abbrev_section::failed): Use format for
gold_warning.
(Output_reduced_debug_info_section::faild): Likewise.

gold/ChangeLog
gold/reduced_debug_output.h

index 87543b508e2a49c873149a2d425fee66b9f3b552..b6a7d844a25c2fbfe5eb314409e70fb82cab3a1b 100644 (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.
index bd8da2237c2f74f197000bac1619cfaaca1817d9..d1682288c3b326d4f5a7ee00c93a19e8fe922806 100644 (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;
   }
 
This page took 0.031239 seconds and 4 git commands to generate.