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

[Xen-changelog] [xen-unstable] Fix build.



# HG changeset patch
# User Tim Deegan <tim@xxxxxxx>
# Date 1327590315 0
# Node ID 266a12304601226213a57e39cc11aa075acdfb58
# Parent  570d0ea0ad2fbcc4e7ba21c1dce92b7b5811c3ae
Fix build.

Bring xc_mem_paging.c in line with other users of munlock in libxc.
Otherwise it trips over -Werror=unused-value

Signed-off-by: Tim Deegan <tim@xxxxxxx>
---


diff -r 570d0ea0ad2f -r 266a12304601 tools/libxc/xc_mem_paging.c
--- a/tools/libxc/xc_mem_paging.c       Thu Jan 26 13:21:27 2012 +0000
+++ b/tools/libxc/xc_mem_paging.c       Thu Jan 26 15:05:15 2012 +0000
@@ -87,7 +87,7 @@
                                 buffer, NULL, gfn);
 
     old_errno = errno;
-    munlock(buffer, XC_PAGE_SIZE);
+    (void) munlock(buffer, XC_PAGE_SIZE);
     errno = old_errno;
 
     return rc;

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


 


Rackspace

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