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@xen.org>
This commit is contained in:
Tim Deegan committed 2012-01-26 15:05:15 +00:00
1 parent 3a71f3f339
commit 97015889f1
1 file changed
+1 -1
+1 -1
View File
@@ -87,7 +87,7 @@ int xc_mem_paging_load(xc_interface *xch, domid_t domain_id,
buffer, NULL, gfn);
old_errno = errno;
munlock(buffer, XC_PAGE_SIZE);
(void) munlock(buffer, XC_PAGE_SIZE);
errno = old_errno;
return rc;
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.