[Libvirt-cim] [PATCH] xmlgen: fix build issue
John Ferlan
jferlan at redhat.com
Wed May 7 13:54:44 UTC 2014
On 05/07/2014 06:52 AM, Pavel Hrdina wrote:
> Function controller_protocol_type_IDToStr() returns a const char
> and we should abide that.
>
> Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
> ---
> libxkutil/xmlgen.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
ACK and pushed. Sorry about that.
John
> diff --git a/libxkutil/xmlgen.c b/libxkutil/xmlgen.c
> index 3174ca9..a9a672d 100644
> --- a/libxkutil/xmlgen.c
> +++ b/libxkutil/xmlgen.c
> @@ -807,7 +807,7 @@ static const char *controller_xml(xmlNodePtr root, struct domain *dominfo)
> for (i = 0; i < dominfo->dev_controller_ct; i++) {
> xmlNodePtr ctlr;
> xmlNodePtr tmp;
> - char *type_str;
> + const char *type_str;
>
> struct virt_device *_dev = &dominfo->dev_controller[i];
> if (_dev->type == CIM_RES_TYPE_UNKNOWN)
>
More information about the Libvirt-cim
mailing list