aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc/xc_linux_osdep.c
diff options
context:
space:
mode:
authorAndrew Cooper <andrew.cooper3@citrix.com>2012-08-17 14:46:49 +0100
committerAndrew Cooper <andrew.cooper3@citrix.com>2012-08-17 14:46:49 +0100
commitb67f7b83ab2bcf7194e52ebd8b277fdcddc75a6b (patch)
treed21fc9b017c8defb7a007c8d5fd535e5d20c868a /tools/libxc/xc_linux_osdep.c
parentec5dbe86ae08ecdb2eb3d6b3c15708fd508ddbf5 (diff)
downloadxen-b67f7b83ab2bcf7194e52ebd8b277fdcddc75a6b.tar.gz
xen-b67f7b83ab2bcf7194e52ebd8b277fdcddc75a6b.tar.bz2
xen-b67f7b83ab2bcf7194e52ebd8b277fdcddc75a6b.zip
tools/python: Clean python correctly
Cleaning the python directory should completely remove the build/ directory, otherwise subsequent builds may be short-circuited and a stale build installed. Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> Acked-by: Ian Campbell <ian.campbell@citrix.com> Committed-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'tools/libxc/xc_linux_osdep.c')
-rw-r--r--tools/libxc/xc_linux_osdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/libxc/xc_linux_osdep.c b/tools/libxc/xc_linux_osdep.c
index 33fdba3605..787e74285e 100644
--- a/tools/libxc/xc_linux_osdep.c
+++ b/tools/libxc/xc_linux_osdep.c
@@ -1,4 +1,4 @@
-/******************************************************************************
+ /******************************************************************************
*
* Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
@@ -106,7 +106,7 @@ static void linux_privcmd_free_hypercall_buffer(xc_interface *xch, xc_osdep_hand
{
/* Recover the VMA flags. Maybe it's not necessary */
madvise(ptr, npages * XC_PAGE_SIZE, MADV_DOFORK);
-
+
munmap(ptr, npages * XC_PAGE_SIZE);
}