2004-07-19 Christopher Faylor <cgf@timesys.com>
[deliverable/binutils-gdb.git] / gdb / serial.c
index ada5631dce939fc0bb2e5f2c40215716afc68660..72f02beb59384b4c7cb2eed30c2a8930b5da7469 100644 (file)
@@ -394,7 +394,7 @@ serial_printf (struct serial *desc, const char *format,...)
   char *buf;
   va_start (args, format);
 
-  xvasprintf (&buf, format, args);
+  buf = xstrvprintf (format, args);
   serial_write (desc, buf, strlen (buf));
 
   xfree (buf);
This page took 0.023702 seconds and 4 git commands to generate.