summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-10-13 20:58:01 +1100
committerAndrew Tridgell <tridge@samba.org>2010-10-13 11:00:04 +0000
commit549c044b9fe76e7d5a47a08fe73a99c87a41ddf4 (patch)
tree92068423a8676ee622e3dba1c27b22e7af08b6bd
parent180304516d2a7f4cd483bad5b08f22f7323c7738 (diff)
downloadsamba-549c044b9fe76e7d5a47a08fe73a99c87a41ddf4.tar.gz
samba-549c044b9fe76e7d5a47a08fe73a99c87a41ddf4.tar.bz2
samba-549c044b9fe76e7d5a47a08fe73a99c87a41ddf4.zip
s4-schema: don't name variables after standard libc functions
-rw-r--r--source4/dsdb/samdb/ldb_modules/schema.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/schema.c b/source4/dsdb/samdb/ldb_modules/schema.c
index 77bf9dc21e..916017f97a 100644
--- a/source4/dsdb/samdb/ldb_modules/schema.c
+++ b/source4/dsdb/samdb/ldb_modules/schema.c
@@ -61,7 +61,7 @@ int acl_check_access_on_class(struct ldb_module *module,
TALLOC_CTX *mem_ctx,
struct security_descriptor *sd,
struct dom_sid *rp_sid,
- uint32_t access,
+ uint32_t access_mask,
const char *class_name)
{
int ret;
@@ -80,14 +80,14 @@ int acl_check_access_on_class(struct ldb_module *module,
goto fail;
}
if (!insert_in_object_tree(tmp_ctx,
- guid, access,
+ guid, access_mask,
&root, &new_node)) {
DEBUG(10, ("acl_search: cannot add to object tree guid\n"));
goto fail;
}
}
status = sec_access_check_ds(sd, token,
- access,
+ access_mask,
&access_granted,
root,
rp_sid);