* gas/mips/macro-warn-[1234].[sdl]: New tests.
[deliverable/binutils-gdb.git] / gdb / ser-tcp.c
index c6ae19dab02c741564a9b2406a626f3139963def..a9a87143cb37b7d8dcbde8750991033ca5893757 100644 (file)
@@ -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;
This page took 0.023117 seconds and 4 git commands to generate.