[libvirt] [PATCH] typo: fix typo error in virLXCControllerSetupResourceLimits

zhang bo oscar.zhangbo at huawei.com
Sat Apr 25 06:10:00 UTC 2015


iff -> if
rather then -> rather than

Signed-off-by: YueWenyuan <yuewenyuan at huawei.com>
---
 src/lxc/lxc_controller.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lxc/lxc_controller.c b/src/lxc/lxc_controller.c
index e144c2d..7ad9d50 100644
--- a/src/lxc/lxc_controller.c
+++ b/src/lxc/lxc_controller.c
@@ -745,9 +745,9 @@ static int virLXCControllerSetupResourceLimits(virLXCControllerPtr ctrl)
 
     if (mode == VIR_DOMAIN_NUMATUNE_MEM_STRICT &&
         virCgroupControllerAvailable(VIR_CGROUP_CONTROLLER_CPUSET)) {
-        /* Use virNuma* API iff necessary. Once set and child is exec()-ed,
+        /* Use virNuma* API if necessary. Once set and child is exec()-ed,
          * there's no way for us to change it. Rely on cgroups (if available
-         * and enabled in the config) rather then virNuma*. */
+         * and enabled in the config) rather than virNuma*. */
         VIR_DEBUG("Relying on CGroups for memory binding");
     } else {
 
-- 
1.7.12.4





More information about the libvir-list mailing list