[libvirt] [PATCH 15/31] src/vmware: Remove the whitespace before '; '

Osier Yang jyang at redhat.com
Tue May 21 10:00:45 UTC 2013


---
 src/vmware/vmware_conf.c   | 2 +-
 src/vmware/vmware_driver.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/vmware/vmware_conf.c b/src/vmware/vmware_conf.c
index 6c24187..9d3d37e 100644
--- a/src/vmware/vmware_conf.c
+++ b/src/vmware/vmware_conf.c
@@ -153,7 +153,7 @@ vmwareLoadDomains(struct vmware_driver *driver)
     if (virCommandRun(cmd, NULL) < 0)
         goto cleanup;
 
-    for (str = outbuf ; (vmxPath = strtok_r(str, "\n", &saveptr)) != NULL;
+    for (str = outbuf; (vmxPath = strtok_r(str, "\n", &saveptr)) != NULL;
         str = NULL) {
 
         if (vmxPath[0] != '/')
diff --git a/src/vmware/vmware_driver.c b/src/vmware/vmware_driver.c
index 91a271f..8a3fc99 100644
--- a/src/vmware/vmware_driver.c
+++ b/src/vmware/vmware_driver.c
@@ -214,7 +214,7 @@ vmwareUpdateVMStatus(struct vmware_driver *driver, virDomainObjPtr vm)
                                &vmxAbsolutePath) < 0)
         goto cleanup;
 
-    for (str = outbuf ; (parsedVmxPath = strtok_r(str, "\n", &saveptr)) != NULL;
+    for (str = outbuf; (parsedVmxPath = strtok_r(str, "\n", &saveptr)) != NULL;
          str = NULL) {
 
         if (parsedVmxPath[0] != '/')
-- 
1.8.1.4




More information about the libvir-list mailing list