From 9b32d2dba0fbb19d74244bb30ae0cec0f1fb1e15 Mon Sep 17 00:00:00 2001 From: Osier Yang Date: Tue, 21 May 2013 15:21:21 +0800 Subject: [PATCH] src/vmware: Remove the whitespace before ';' --- 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 6c241870e4..9d3d37ee0f 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 91a271f046..8a3fc996e6 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] != '/') -- GitLab