From 7990daecfc90f458631df31ffc4d56b42957e32f Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Mon, 6 Dec 2010 02:28:31 +0000 Subject: [PATCH] Add a space after `:' in plugin error message. 2010-12-05 H.J. Lu * plugin.c (message): Add a space after `:' in error message. --- ld/ChangeLog | 4 ++++ ld/plugin.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index eeefd33615..63858ee00f 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2010-12-05 H.J. Lu + + * plugin.c (message): Add a space after `:' in error message. + 2010-12-05 H.J. Lu * plugin.c (asymbol_from_plugin_symbol): Add the trailing `\n' diff --git a/ld/plugin.c b/ld/plugin.c index 8c919b6c71..34d76bd843 100644 --- a/ld/plugin.c +++ b/ld/plugin.c @@ -587,7 +587,8 @@ message (int level, const char *format, ...) case LDPL_ERROR: default: { - char *newfmt = ACONCAT ((level == LDPL_FATAL ? "%P%F:" : "%P%X:", + char *newfmt = ACONCAT ((level == LDPL_FATAL + ? "%P%F: " : "%P%X: ", format, "\n", NULL)); vfinfo (stderr, newfmt, args, TRUE); }