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

[Xen-devel] [PATCH] fix libxc warnings



With gcc 4.1 / glibc 2.3.90, I'm seeing fatal warnings building libxc.

xc_core.c: In function 'xc_domain_dumpcore':
xc_core.c:74: warning: ignoring return value of 'write', declared with
attribute warn_unused_result
xc_core.c:75: warning: ignoring return value of 'write', declared with
attribute warn_unused_result
xc_core.c:85: warning: ignoring return value of 'write', declared with
attribute warn_unused_result

Attached is a trival patch to fix the warnings.

Signed-off-by:  Charles Coffing <ccoffing@xxxxxxxxxx>

Attachment: libxc-warnings.diff
Description: Binary data

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.