From: Michal Privoznik <mprivozn@redhat.com>
Due to a typo, the bhyve driver doesn't compile. Fix it.
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
---
Merged as trivial.
src/bhyve/bhyve_driver.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/bhyve/bhyve_driver.c b/src/bhyve/bhyve_driver.c
index 3a4e83d3d2..4b1ca80fc6 100644
--- a/src/bhyve/bhyve_driver.c
+++ b/src/bhyve/bhyve_driver.c
@@ -487,7 +487,7 @@ bhyveDomainDefineXMLFlags(virConnectPtr conn, const char *xml, unsigned int flag
return NULL;
/* Avoid parsing the whole domain definition for ACL checks */
- if (!(def = virDomainDefIDsParseString(xml, provconn->xmlopt, parse_flags)))
+ if (!(def = virDomainDefIDsParseString(xml, privconn->xmlopt, parse_flags)))
return NULL;
if (virDomainDefineXMLFlagsEnsureACL(conn, def) < 0)
@@ -896,7 +896,7 @@ bhyveDomainCreateXML(virConnectPtr conn,
start_flags |= VIR_BHYVE_PROCESS_START_AUTODESTROY;
/* Avoid parsing the whole domain definition for ACL checks */
- if (!(def = virDomainDefIDsParseString(xml, provconn->xmlopt, parse_flags)))
+ if (!(def = virDomainDefIDsParseString(xml, privconn->xmlopt, parse_flags)))
return NULL;
if (virDomainCreateXMLEnsureACL(conn, def) < 0)
--
2.51.0