From 7ac96fb5a82797abaac47741ea3cb4103e6574fe Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Mon, 6 Dec 2010 00:59:14 +0000 Subject: [PATCH] Add `%P' on error in plugin message. --- ld/plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ld/plugin.c b/ld/plugin.c index 1832e494060..8c919b6c710 100644 --- a/ld/plugin.c +++ b/ld/plugin.c @@ -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); } -- 2.30.2