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 c87875f..2b1eced 100644 --- a/gdb/serial.c +++ b/gdb/serial.c @@ -263,7 +263,7 @@ serial_fdopen_ops (const int fd, const struct serial_ops *ops) if (!ops) return NULL; - scb = XCALLOC (1, struct serial); + scb = XCNEW (struct serial); scb->ops = ops; |