Mailing List Archive

[PATCH] xl: fix compiler warnings
Hi,

either GCC 4.6.1 or Ubuntu add -Werror=format-security to the -Wall set,
so libxl compilation breaks:
libxl_create.c: In function 'store_libxl_entry':
libxl_create.c:454:9: error: format not a string literal and no
format arguments [-Werror=format-security]
cc1: all warnings being treated as errors

attached patch fixes this and another occurrence.

Patch from: Uwe Dannowski

Signed-off-by: Andre Przywara <andre.przywara@amd.com>

Regards,
Andre.

--
Andre Przywara
AMD-Operating System Research Center (OSRC), Dresden, Germany
Re: [PATCH] xl: fix compiler warnings [ In reply to ]
Andre Przywara writes ("[Xen-devel] [PATCH] xl: fix compiler warnings"):
> either GCC 4.6.1 or Ubuntu add -Werror=format-security to the -Wall set,
> so libxl compilation breaks:
> libxl_create.c: In function 'store_libxl_entry':
> libxl_create.c:454:9: error: format not a string literal and no
> format arguments [-Werror=format-security]
> cc1: all warnings being treated as errors
>
> attached patch fixes this and another occurrence.

Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel