提交 678073a2 编写于 作者: D Daniel P. Berrange

Fixed const warning

上级 523389a7
......@@ -1700,7 +1700,7 @@ xend_parse_sexp_desc(virConnectPtr conn, struct sexpr *root, int xendConfigVersi
if (drvType)
free(drvType);
} else if (sexpr_lookup(node, "device/vif")) {
char *tmp2;
const char *tmp2;
tmp2 = sexpr_node(node, "device/vif/script");
if (tmp2 && strstr(tmp2, "bridge")) {
virBufferVSprintf(&buf, " <interface type='bridge'>\n");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册