summaryrefslogtreecommitdiff
path: root/libddekit/memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'libddekit/memory.c')
-rw-r--r--libddekit/memory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libddekit/memory.c b/libddekit/memory.c
index 79fe0ad3..06d20e1c 100644
--- a/libddekit/memory.c
+++ b/libddekit/memory.c
@@ -218,11 +218,11 @@ void *ddekit_large_malloc(int size)
extern mach_port_t priv_host;
/* Allocate memory. */
- err = vm_dma_buff_alloc (priv_host, mach_task_self (),
+ err = vm_allocate_contiguous (priv_host, mach_task_self (),
size, &vstart, &pstart);
if (err)
{
- error (0, err, "vm_dma_buff_alloc");
+ error (0, err, "vm_allocate_contiguous");
vstart = 0;
}
else