mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-29 18:41:27 +00:00
* ser-pipe.c (_initialize_ser_pipe): Correct call to memset--swap
second and third arguments. * ser-tcp.c (_initialize_ser_tcp): Likewise. * ser-unix.c (_initialize_ser_hardwire): Likewise.
This commit is contained in:
@@ -208,7 +208,7 @@ void
|
||||
_initialize_ser_tcp (void)
|
||||
{
|
||||
struct serial_ops *ops = XMALLOC (struct serial_ops);
|
||||
memset (ops, sizeof (struct serial_ops), 0);
|
||||
memset (ops, 0, sizeof (struct serial_ops));
|
||||
ops->name = "tcp";
|
||||
ops->next = 0;
|
||||
ops->open = net_open;
|
||||
|
||||
Reference in New Issue
Block a user