1
0

bhyve: fix build by fixing typo in variable name

Commit 80d0918b introduced a typo in variable name:

s/failIncomaptible/failIncompatible/

Pushed under the build breaker rule.
This commit is contained in:
Roman Bogorodskiy 2014-06-27 19:04:41 +04:00
parent 0453376755
commit b963ca06d4

View File

@ -1326,14 +1326,14 @@ bhyveConnectCompareCPU(virConnectPtr conn,
if (virConnectCompareCPUEnsureACL(conn) < 0) if (virConnectCompareCPUEnsureACL(conn) < 0)
goto cleanup; goto cleanup;
failIncomaptible = !!(flags & VIR_CONNECT_COMPARE_CPU_FAIL_INCOMPATIBLE); failIncompatible = !!(flags & VIR_CONNECT_COMPARE_CPU_FAIL_INCOMPATIBLE);
if (!(caps = bhyveDriverGetCapabilities(driver))) if (!(caps = bhyveDriverGetCapabilities(driver)))
goto cleanup; goto cleanup;
if (!caps->host.cpu || if (!caps->host.cpu ||
!caps->host.cpu->model) { !caps->host.cpu->model) {
if (failIncomaptible) { if (failIncompatible) {
virReportError(VIR_ERR_CPU_INCOMPATIBLE, "%s", virReportError(VIR_ERR_CPU_INCOMPATIBLE, "%s",
_("cannot get host CPU capabilities")); _("cannot get host CPU capabilities"));
} else { } else {
@ -1341,7 +1341,7 @@ bhyveConnectCompareCPU(virConnectPtr conn,
ret = VIR_CPU_COMPARE_INCOMPATIBLE; ret = VIR_CPU_COMPARE_INCOMPATIBLE;
} }
} else { } else {
ret = cpuCompareXML(caps->host.cpu, xmlDesc, failIncomaptible); ret = cpuCompareXML(caps->host.cpu, xmlDesc, failIncompatible);
} }
cleanup: cleanup: