aboutsummaryrefslogtreecommitdiff
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
commitd9b214634821128048e319c8d24c4640dab19dd2 (patch)
treecb99cb7edfae079ccf70f15d2209aa9ed53c6d7c /ld
parent8e0e408ae67929c13582e95db3f037627b83947f (diff)
downloadgdb-d9b214634821128048e319c8d24c4640dab19dd2.zip
gdb-d9b214634821128048e319c8d24c4640dab19dd2.tar.gz
gdb-d9b214634821128048e319c8d24c4640dab19dd2.tar.bz2
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 3d20061..e4140e6 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 2950295..db31596 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;