diff --git a/src/conf/network_conf.c b/src/conf/network_conf.c index a73fbd661b..9be06d3ead 100644 --- a/src/conf/network_conf.c +++ b/src/conf/network_conf.c @@ -2797,17 +2797,17 @@ virNetworkObjFormat(virNetworkObjPtr net, goto no_memory; virBufferAddLit(&buf, "\n"); - virBufferAsprintf(&buf, " \n", class_id); - virBufferAsprintf(&buf, " \n", net->floor_sum); + virBufferAdjustIndent(&buf, 2); + virBufferAsprintf(&buf, "\n", class_id); + virBufferAsprintf(&buf, "\n", net->floor_sum); VIR_FREE(class_id); for (i = 0; i < VIR_NETWORK_TAINT_LAST; i++) { if (net->taint & (1 << i)) - virBufferAsprintf(&buf, " \n", + virBufferAsprintf(&buf, "\n", virNetworkTaintTypeToString(i)); } - virBufferAdjustIndent(&buf, 2); if (virNetworkDefFormatBuf(&buf, net->def, flags) < 0) goto error;