mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-01-24 10:24:55 +00:00
Don't add the trailing `\n' for LDPL_ERROR.
2010-12-06 H.J. Lu <hongjiu.lu@intel.com> PR ld/12288 * plugin.c (message): Don't add the trailing `\n' for LDPL_ERROR.
This commit is contained in:
parent
ada487f6b3
commit
d251c5c4e1
@ -1,3 +1,9 @@
|
||||
2010-12-06 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR ld/12288
|
||||
* plugin.c (message): Don't add the trailing `\n' for
|
||||
LDPL_ERROR.
|
||||
|
||||
2010-12-06 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR ld/12288
|
||||
|
@ -582,9 +582,11 @@ message (int level, const char *format, ...)
|
||||
{
|
||||
case LDPL_INFO:
|
||||
vfinfo (stdout, format, args, FALSE);
|
||||
putchar ('\n');
|
||||
break;
|
||||
case LDPL_WARNING:
|
||||
vfinfo (stdout, format, args, TRUE);
|
||||
putchar ('\n');
|
||||
break;
|
||||
case LDPL_FATAL:
|
||||
case LDPL_ERROR:
|
||||
@ -598,8 +600,6 @@ message (int level, const char *format, ...)
|
||||
break;
|
||||
}
|
||||
|
||||
putchar('\n');
|
||||
|
||||
va_end (args);
|
||||
return LDPS_OK;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user