diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2010-12-06 00:59:14 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2010-12-06 00:59:14 +0000 |
commit | 7ac96fb5a82797abaac47741ea3cb4103e6574fe (patch) | |
tree | 25fc41043101fab7e4cf6cf13170ef1367763fdc /ld/plugin.c | |
parent | ea360572bd7f868c3459f11286d6f873bb21ccdf (diff) | |
download | gdb-7ac96fb5a82797abaac47741ea3cb4103e6574fe.zip gdb-7ac96fb5a82797abaac47741ea3cb4103e6574fe.tar.gz gdb-7ac96fb5a82797abaac47741ea3cb4103e6574fe.tar.bz2 |
Add `%P' on error in plugin message.
Diffstat (limited to 'ld/plugin.c')
-rw-r--r-- | ld/plugin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/plugin.c b/ld/plugin.c index 1832e49..8c919b6 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); } |