util: Make ovs_error() understand that EOF means "end of file".
[openvswitch] / ofproto / in-band.c
index 2b362bc06ebc79fa9a83836ee6304b8df1c57953..4a2ea834af0c36cc7da6d5861be35e2e4197cf54 100644 (file)
@@ -624,7 +624,7 @@ in_band_create(struct ofproto *ofproto, struct dpif *dpif,
         return error;
     }
 
-    in_band = xcalloc(1, sizeof *in_band);
+    in_band = xzalloc(sizeof *in_band);
     in_band->ofproto = ofproto;
     in_band->controller = controller;
     in_band->ss_cat = switch_status_register(ss, "in-band",