summaryrefslogtreecommitdiff
path: root/libhurd-mm/mprotect.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhurd-mm/mprotect.c')
-rw-r--r--libhurd-mm/mprotect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhurd-mm/mprotect.c b/libhurd-mm/mprotect.c
index 5c70427..59d25e9 100644
--- a/libhurd-mm/mprotect.c
+++ b/libhurd-mm/mprotect.c
@@ -138,7 +138,7 @@ mprotect (void *addr, size_t length, int prot)
if (map->access == 0)
{
error_t err;
- err = rm_cap_rubout (meta_data_activity,
+ err = vg_cap_rubout (meta_data_activity,
VG_ADDR_VOID, addr);
assert (! err);
slot->type = vg_cap_void;