Skip to contentSkip to conversation

[5730] Use qemu_memalign instead of memalign in qemu_vmalloc

Qemu-devel malc 1 participant 1 message Nov 18, 2008

lore
Share & tools
lore

malc

author
#0 lore raw

Revision: 5730

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5730
Author:   malc
Date:     2008-11-18 01:42:15 +0000 (Tue, 18 Nov 2008)

Log Message:
-----------
Use qemu_memalign instead of memalign in qemu_vmalloc

Modified Paths:
--------------
trunk/osdep.c

Modified: trunk/osdep.c
===================================================================

osdep.c +1 -1
@@ -200,7 +200,7 @@
 #ifdef _BSD
     return valloc(size);
 #else
-    return memalign(getpagesize(), size);
+    return qemu_memalign(getpagesize(), size);
 #endif
 }