[libvirt] [PATCH v1 11/37] Adapt to VIR_ALLOC and virAsprintf in src/libxl/*
Ján Tomko
jtomko at redhat.com
Mon Jul 8 08:07:34 UTC 2013
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
More information about the libvir-list
mailing list