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

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



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


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