diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2003-06-30 21:40:05 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2003-06-30 21:40:05 +0000 |
commit | 1ad828f1985eff39fbe4088d2a30c2f065ebc562 (patch) | |
tree | f42d318afab6dad292a8e283fe3e3567ef48ce8d /gdb/utils.c | |
parent | 39b00981ac1fe3601dadaed4fa16b10883e7fd6b (diff) | |
download | gdb-1ad828f1985eff39fbe4088d2a30c2f065ebc562.zip gdb-1ad828f1985eff39fbe4088d2a30c2f065ebc562.tar.gz gdb-1ad828f1985eff39fbe4088d2a30c2f065ebc562.tar.bz2 |
* utils.c (internal_vproblem): Use xvasprintf, not xasprintf, to
format error message.
Diffstat (limited to 'gdb/utils.c')
-rw-r--r-- | gdb/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/utils.c b/gdb/utils.c index 0817353..4dfe89b 100644 --- a/gdb/utils.c +++ b/gdb/utils.c @@ -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\ |