mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-08 20:51:26 +00:00
Fixed const warning
This commit is contained in:
parent
523389a72b
commit
678073a297
@ -1700,7 +1700,7 @@ xend_parse_sexp_desc(virConnectPtr conn, struct sexpr *root, int xendConfigVersi
|
|||||||
if (drvType)
|
if (drvType)
|
||||||
free(drvType);
|
free(drvType);
|
||||||
} else if (sexpr_lookup(node, "device/vif")) {
|
} else if (sexpr_lookup(node, "device/vif")) {
|
||||||
char *tmp2;
|
const char *tmp2;
|
||||||
tmp2 = sexpr_node(node, "device/vif/script");
|
tmp2 = sexpr_node(node, "device/vif/script");
|
||||||
if (tmp2 && strstr(tmp2, "bridge")) {
|
if (tmp2 && strstr(tmp2, "bridge")) {
|
||||||
virBufferVSprintf(&buf, " <interface type='bridge'>\n");
|
virBufferVSprintf(&buf, " <interface type='bridge'>\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user