2004-06-28 Andrew Cagney <cagney@gnu.org>
[deliverable/binutils-gdb.git] / gdb / complaints.c
index ec874da23d66dcc017357ca13a1008a1dd7f4b4b..bd869f0789e40d3efcfccf475e998594a982fe6d 100644 (file)
@@ -197,7 +197,7 @@ vcomplaint (struct complaints **c, const char *file, int line, const char *fmt,
        {
          char *msg;
          struct cleanup *cleanups;
-         xvasprintf (&msg, complaint->fmt, args);
+         msg = xstrvprintf (complaint->fmt, args);
          cleanups = make_cleanup (xfree, msg);
          wrap_here ("");
          if (series != SUBSEQUENT_MESSAGE)
This page took 0.029534 seconds and 4 git commands to generate.