commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hurd,commited] htl: avoid exposing the vm_region symbol


From: Samuel Thibault
Subject: [hurd,commited] htl: avoid exposing the vm_region symbol
Date: Sat, 9 Sep 2023 10:24:16 +0200

---
 sysdeps/mach/hurd/htl/pt-sysdep.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);
-- 
2.40.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]