ovsdb-parser: Fix indentation.
[openvswitch] / lib / learning-switch.c
index 73464c688aacd2770fc0d01a1c8087c29bc75b1e..99d5ee4c094e746aec3c6db17dc6bc777d294d99 100644 (file)
@@ -110,7 +110,7 @@ lswitch_create(struct rconn *rconn, bool learn_macs, int max_idle)
     struct lswitch *sw;
     size_t i;
 
-    sw = xcalloc(1, sizeof *sw);
+    sw = xzalloc(sizeof *sw);
     sw->max_idle = max_idle;
     sw->datapath_id = 0;
     sw->last_features_request = time_now() - 1;