diff options
author | Ian Lance Taylor <ian@airs.com> | 2009-02-04 15:18:51 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2009-02-04 15:18:51 +0000 |
commit | 04aa8f0d6caa65cf188fe6e5a822c2d9bcbf2b67 (patch) | |
tree | d3b370fbe6fac8d14ef11c07f8b0648a99ed5970 /gold/reduced_debug_output.h | |
parent | 38c37464170670415108ec63669d27bc53e85bfa (diff) | |
download | binutils-redhat-04aa8f0d6caa65cf188fe6e5a822c2d9bcbf2b67.tar.gz |
PR 9812
* reduced_debug_output.h
(Output_reduced_debug_abbrev_section::failed): Use format for
gold_warning.
(Output_reduced_debug_info_section::faild): Likewise.
Diffstat (limited to 'gold/reduced_debug_output.h')
-rw-r--r-- | gold/reduced_debug_output.h | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |