]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
htl: avoid exposing the vm_region symbol
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sat, 9 Sep 2023 08:06:59 +0000 (10:06 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sat, 9 Sep 2023 08:07:39 +0000 (10:07 +0200)
sysdeps/mach/hurd/htl/pt-sysdep.c

index afef7841f8a9adef7a483212375cc215d3f207ac..57732a7dff5d9f83f6de8b0d4c731114c9e92f50 100644 (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);