mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-02 01:45:17 +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)
|
||||
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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user