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 | 8e94a90cbc441a1515908ae6a5ed162c5190306c (patch) | |
tree | ac995d09bff03dc4065a7eff70dba72459449580 /gold/reduced_debug_output.h | |
parent | 9f08ae4f53c8ad3a311fea01352fdd4be11f9d09 (diff) | |
download | fsf-binutils-gdb-8e94a90cbc441a1515908ae6a5ed162c5190306c.zip fsf-binutils-gdb-8e94a90cbc441a1515908ae6a5ed162c5190306c.tar.gz fsf-binutils-gdb-8e94a90cbc441a1515908ae6a5ed162c5190306c.tar.bz2 |
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 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; } |