aboutsummaryrefslogtreecommitdiff
path: root/ld/plugin.c
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/plugin.c
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/plugin.c')
-rw-r--r--ld/plugin.c2
1 files changed, 1 insertions, 1 deletions
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;