summaryrefslogtreecommitdiff
path: root/libcli/security
diff options
context:
space:
mode:
Diffstat (limited to 'libcli/security')
-rw-r--r--libcli/security/object_tree.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libcli/security/object_tree.c b/libcli/security/object_tree.c
index 7c7d644543..6fa9585365 100644
--- a/libcli/security/object_tree.c
+++ b/libcli/security/object_tree.c
@@ -109,13 +109,13 @@ struct object_tree *get_object_tree_by_GUID(struct object_tree *root,
/* Change the granted access per each ACE */
void object_tree_modify_access(struct object_tree *root,
- uint32_t access)
+ uint32_t access_mask)
{
- root->remaining_access &= ~access;
+ root->remaining_access &= ~access_mask;
if (root->num_of_children > 0) {
int i;
for (i = 0; i < root->num_of_children; i++) {
- object_tree_modify_access(&root->children[i], access);
+ object_tree_modify_access(&root->children[i], access_mask);
}
}
}