Re: [PATCH v1 11/37] Adapt to VIR_ALLOC and virAsprintf in src/libxl/*

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]