ovsdb-server: Remove unixctl transaction support.
[openvswitch] / ofproto / discovery.c
index 2868db5a8599f4b895385b8ac8e0b59695497d99..c76250664cd9aa8dee9cfb82a37fe3b1f00f4d3c 100644 (file)
@@ -102,7 +102,7 @@ discovery_create(const char *re, bool update_resolv_conf,
     char local_name[IF_NAMESIZE];
     int error;
 
-    d = xcalloc(1, sizeof *d);
+    d = xzalloc(sizeof *d);
 
     /* Controller regular expression. */
     error = discovery_set_accept_controller_re(d, re);