diff options
Diffstat (limited to 'gdb/serial.c')
-rw-r--r-- | gdb/serial.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/serial.c b/gdb/serial.c index 01c15c6..1d25adf 100644 --- a/gdb/serial.c +++ b/gdb/serial.c @@ -394,7 +394,7 @@ serial_printf (serial_t desc, const char *format,...) char *buf; va_start (args, format); - vasprintf (&buf, format, args); + xvasprintf (&buf, format, args); SERIAL_WRITE (desc, buf, strlen (buf)); xfree (buf); |