mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
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:
1 parent
3a71f3f339
commit
97015889f1
1 file changed
+1
-1
@@ -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;
|
||||
|
||||