On Thu, Jun 15, Juergen Gross wrote:

> +++ b/tools/misc/xen-detect.c

> +        asprintf(&ver, "V%u.%u",
> +                 (uint16_t)(regs[0] >> 16), (uint16_t)regs[0]);

> +        asprintf(&ver, "V%s.%s", str, tmp);

This fails to build:

xen-detect.c:196:17: error: ignoring return value of 'asprintf', declared with 
attribute warn_unused_result [-Werror=unused-result]
xen-detect.c:93:17: error: ignoring return value of 'asprintf', declared with 
attribute warn_unused_result [-Werror=unused-result]

Olaf

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

Reply via email to