htl: avoid exposing the vm_region symbol

This commit is contained in:
Samuel Thibault 2023-09-09 10:06:59 +02:00
parent 8cb69e0543
commit a43003ebf6

View File

@ -71,7 +71,7 @@ _init_routine (void *stack)
memory_object_name_t obj;
vm_offset_t offset;
if (vm_region (__mach_task_self (), &addr,
if (__vm_region (__mach_task_self (), &addr,
&vm_size, &prot, &max_prot, &inherit, &is_shared,
&obj, &offset) == KERN_SUCCESS)
__mach_port_deallocate (__mach_task_self (), obj);