On 07/04/2013 02:06 PM, Michal Privoznik wrote:
---
src/libxl/libxl_conf.c | 18 +++++-------------
src/libxl/libxl_driver.c | 46 +++++++++++-----------------------------------
2 files changed, 16 insertions(+), 48 deletions(-)
@@ -1274,7 +1262,7 @@ libxlStateInitialize(bool privileged,
}
if (virAsprintf(&log_file, "%s/libxl.log", libxl_driver->logDir)
< 0) {
- goto out_of_memory;
+ goto error;
}
Redundant braces.
if ((libxl_driver->logger_file = fopen(log_file, "a")) == NULL) {
ACK
Jan