summaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2010-12-06 20:25:49 +0000
committerH.J. Lu <hjl.tools@gmail.com>2010-12-06 20:25:49 +0000
commitec1e56a2484e6481ae651c8c78417e2442f94a44 (patch)
treeeed175361f24753ec877196f9d6cade96246f6db /ld
parentfbb8b869cb96a7a269fe942e6205a7a0a83ba2d1 (diff)
downloadbinutils-redhat-ec1e56a2484e6481ae651c8c78417e2442f94a44.tar.gz
Use putchar for the trailing `\n' in plugin message.
bfd/ 2010-12-06 Dmitry Gorbachev <d.g.gorbachev@gmail.com> PR ld/12288 * plugin.c (message): Add putchar for the trailing `\n'. ld/ 2010-12-06 Dmitry Gorbachev <d.g.gorbachev@gmail.com> PR ld/12288 * plugin.c (message): Use putchar for the trailing `\n'.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/plugin.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 3d200613bf..e4140e6acf 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2010-12-06 Dmitry Gorbachev <d.g.gorbachev@gmail.com>
+
+ PR ld/12288
+ * plugin.c (message): Use putchar for the trailing `\n'.
+
2010-12-06 H.J. Lu <hongjiu.lu@intel.com>
Dmitry Gorbachev <d.g.gorbachev@gmail.com>
diff --git a/ld/plugin.c b/ld/plugin.c
index 2950295b24..db31596cce 100644
--- a/ld/plugin.c
+++ b/ld/plugin.c
@@ -598,7 +598,7 @@ message (int level, const char *format, ...)
break;
}
- fputc('\n', stderr);
+ putchar('\n');
va_end (args);
return LDPS_OK;