Automatic date update in version.in
[deliverable/binutils-gdb.git] / gold / reduced_debug_output.h
index bd8da2237c2f74f197000bac1619cfaaca1817d9..9a21a22d6d68b8b6d363cec681a9d7d219bd9da3 100644 (file)
@@ -1,6 +1,6 @@
 // reduced_debug_output.h -- reduce debugging information  -*- C++ -*-
 
-// Copyright 2008 Free Software Foundation, Inc.
+// Copyright (C) 2008-2019 Free Software Foundation, Inc.
 // Written by Caleb Howe <cshowe@google.com>.
 
 // This file is part of gold.
@@ -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.023836 seconds and 4 git commands to generate.