summaryrefslogtreecommitdiff
path: root/src/esx/esx_driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/esx/esx_driver.c')
-rw-r--r--src/esx/esx_driver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/esx/esx_driver.c b/src/esx/esx_driver.c
index 2aa6978d05..13e8887b75 100644
--- a/src/esx/esx_driver.c
+++ b/src/esx/esx_driver.c
@@ -3769,7 +3769,7 @@ esxDomainSetSchedulerParametersFlags(virDomainPtr domain,
}
spec->cpuAllocation->reservation->value = params[i].value.l;
- } else if(STREQ (params[i].field, VIR_DOMAIN_SCHEDULER_LIMIT)) {
+ } else if (STREQ(params[i].field, VIR_DOMAIN_SCHEDULER_LIMIT)) {
if (esxVI_Long_Alloc(&spec->cpuAllocation->limit) < 0) {
goto cleanup;
}
@@ -3783,7 +3783,7 @@ esxDomainSetSchedulerParametersFlags(virDomainPtr domain,
}
spec->cpuAllocation->limit->value = params[i].value.l;
- } else if(STREQ (params[i].field, VIR_DOMAIN_SCHEDULER_SHARES)) {
+ } else if (STREQ(params[i].field, VIR_DOMAIN_SCHEDULER_SHARES)) {
if (esxVI_SharesInfo_Alloc(&sharesInfo) < 0 ||
esxVI_Int_Alloc(&sharesInfo->shares) < 0) {
goto cleanup;