X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/2d21ac55c334faf3a56e5634905ed6987fc787d4..6d2010ae8f7a6078e10b361c6962983bab233e0f:/libsyscall/mach/port_obj.c diff --git a/libsyscall/mach/port_obj.c b/libsyscall/mach/port_obj.c index 1951d1ce5..b23054a15 100644 --- a/libsyscall/mach/port_obj.c +++ b/libsyscall/mach/port_obj.c @@ -47,7 +47,7 @@ void port_obj_init( { kern_return_t kr; - kr = vm_allocate(mach_task_self(), + kr = vm_allocate(mach_task_self_, (vm_offset_t *)&port_obj_table, (vm_size_t)(maxsize * sizeof (*port_obj_table)), TRUE);