Add a space after `:' in plugin error message.

2010-12-05  H.J. Lu  <hongjiu.lu@intel.com>

	* plugin.c (message): Add a space after `:' in error message.
This commit is contained in:
H.J. Lu 2010-12-06 02:28:31 +00:00
parent d357cef784
commit 7990daecfc
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2010-12-05 H.J. Lu <hongjiu.lu@intel.com>
* plugin.c (message): Add a space after `:' in error message.
2010-12-05 H.J. Lu <hongjiu.lu@intel.com>
* plugin.c (asymbol_from_plugin_symbol): Add the trailing `\n'

View File

@ -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);
}