aboutsummaryrefslogtreecommitdiff
path: root/gdb/utils.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2003-06-30 21:40:05 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2003-06-30 21:40:05 +0000
commit1ad828f1985eff39fbe4088d2a30c2f065ebc562 (patch)
treef42d318afab6dad292a8e283fe3e3567ef48ce8d /gdb/utils.c
parent39b00981ac1fe3601dadaed4fa16b10883e7fd6b (diff)
downloadfsf-binutils-gdb-1ad828f1985eff39fbe4088d2a30c2f065ebc562.zip
fsf-binutils-gdb-1ad828f1985eff39fbe4088d2a30c2f065ebc562.tar.gz
fsf-binutils-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.c2
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\