]> xenbits.xensource.com Git - libvirt.git/commitdiff
bhyve: fix build
authorRoman Bogorodskiy <bogorodskiy@gmail.com>
Fri, 5 Feb 2016 02:34:31 +0000 (05:34 +0300)
committerRoman Bogorodskiy <bogorodskiy@gmail.com>
Fri, 5 Feb 2016 02:36:26 +0000 (05:36 +0300)
Fix build fail introduced as a side effect of commit d239a54.

Pushed under the build breaker rule.

src/bhyve/bhyve_driver.c

index 337a29ef498a5415d1d1d99b6433f46de544e41c..f486f869c319655b0f2f43062f24e6d51bcdcf6a 100644 (file)
@@ -488,7 +488,7 @@ bhyveDomainGetOSType(virDomainPtr dom)
 static char *
 bhyveDomainGetXMLDesc(virDomainPtr domain, unsigned int flags)
 {
-    bhyveConnPtr privconn = conn->privateData;
+    bhyveConnPtr privconn = domain->conn->privateData;
     virDomainObjPtr vm;
     virCapsPtr caps = NULL;
     char *ret = NULL;