Add the trailing `\n' to pluin message.
2010-12-05 H.J. Lu <hongjiu.lu@intel.com> PR ld/12288 * plugin.c (message): Add the trailing `\n'.
This commit is contained in:
parent
b7f95647fd
commit
b7f4214449
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2010-12-05 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR ld/12288
|
||||
* plugin.c (message): Add the trailing `\n'.
|
||||
|
||||
2010-12-05 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* ldfile.c (ldfile_open_file_search): Check maybe_archive instead
|
||||
|
|
|
@ -588,12 +588,14 @@ message (int level, const char *format, ...)
|
|||
default:
|
||||
{
|
||||
char *newfmt = ACONCAT ((level == LDPL_FATAL ? "%F" : "%X",
|
||||
format, NULL));
|
||||
format, "\n", NULL));
|
||||
vfinfo (stderr, newfmt, args, TRUE);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
fputc('\n', stderr);
|
||||
|
||||
va_end (args);
|
||||
return LDPS_OK;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue