summaryrefslogtreecommitdiff
path: root/osdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'osdep.c')
-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
}