Add `%P' on error in plugin message.

This commit is contained in:
H.J. Lu 2010-12-06 00:59:14 +00:00
parent ea360572bd
commit 7ac96fb5a8
1 changed files with 1 additions and 1 deletions

View File

@ -587,7 +587,7 @@ message (int level, const char *format, ...)
case LDPL_ERROR:
default:
{
char *newfmt = ACONCAT ((level == LDPL_FATAL ? "%F" : "%X",
char *newfmt = ACONCAT ((level == LDPL_FATAL ? "%P%F:" : "%P%X:",
format, "\n", NULL));
vfinfo (stderr, newfmt, args, TRUE);
}