about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2023-09-09 10:06:59 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-09-09 10:07:39 +0200
commita43003ebf674f7af8c4b8d6d1b682244f1a28719 (patch)
treeba404af1b10025c6660a3d536ff00ec1f2fd9d60
parent8cb69e054386f980f9ff4d93b157861d72b2019e (diff)
downloadglibc-a43003ebf674f7af8c4b8d6d1b682244f1a28719.tar.gz
glibc-a43003ebf674f7af8c4b8d6d1b682244f1a28719.tar.xz
glibc-a43003ebf674f7af8c4b8d6d1b682244f1a28719.zip
htl: avoid exposing the vm_region symbol
-rw-r--r--sysdeps/mach/hurd/htl/pt-sysdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/htl/pt-sysdep.c b/sysdeps/mach/hurd/htl/pt-sysdep.c
index afef7841f8..57732a7dff 100644
--- a/sysdeps/mach/hurd/htl/pt-sysdep.c
+++ b/sysdeps/mach/hurd/htl/pt-sysdep.c
@@ -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);