* utils.c (internal_vproblem): Use xvasprintf, not xasprintf, to
format error message.
This commit is contained in:
parent
39b00981ac
commit
1ad828f198
2 changed files with 6 additions and 1 deletions
|
@ -724,7 +724,7 @@ internal_vproblem (struct internal_problem *problem,
|
|||
so that the user knows that they are living on the edge. */
|
||||
{
|
||||
char *msg;
|
||||
xasprintf (&msg, fmt, ap);
|
||||
xvasprintf (&msg, fmt, ap);
|
||||
xasprintf (&reason, "\
|
||||
%s:%d: %s: %s\n\
|
||||
A problem internal to GDB has been detected,\n\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue