aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>2008-11-18 01:42:15 +0000
committermalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>2008-11-18 01:42:15 +0000
commit48253bd84ee24182dd8a1e236094eb8649da3b54 (patch)
tree6ef979f594152434e40e12f4ee8404d9db71aaf6
parenta7812ae412311d7d47f8aa85656faadac9d64b56 (diff)
Use qemu_memalign instead of memalign in qemu_vmalloc
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5730 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--osdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/osdep.c b/osdep.c
index d4db1e015b..375b301dff 100644
--- a/osdep.c
+++ b/osdep.c
@@ -200,7 +200,7 @@ void *qemu_vmalloc(size_t size)
#ifdef _BSD
return valloc(size);
#else
- return memalign(getpagesize(), size);
+ return qemu_memalign(getpagesize(), size);
#endif
}