summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/privileges_basic.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/lib/privileges_basic.c b/source3/lib/privileges_basic.c
index 1cd9ef5b2f..5271c45a88 100644
--- a/source3/lib/privileges_basic.c
+++ b/source3/lib/privileges_basic.c
@@ -281,12 +281,12 @@ const char* get_privilege_dispname( const char *name )
at a time here.
*****************************************************************************/
-bool user_has_privileges(const struct security_token *token, const uint64_t *privilege)
+bool user_has_privileges(const struct security_token *token, const uint64_t *privilege_bit)
{
if ( !token )
return False;
- return is_privilege_assigned( &token->privilege_mask, privilege );
+ return is_privilege_assigned( &token->privilege_mask, privilege_bit );
}
/****************************************************************************
@@ -294,12 +294,12 @@ bool user_has_privileges(const struct security_token *token, const uint64_t *pri
at a time here.
*****************************************************************************/
-bool user_has_any_privilege(struct security_token *token, const uint64_t *privilege)
+bool user_has_any_privilege(struct security_token *token, const uint64_t *privilege_mask)
{
if ( !token )
return False;
- return is_any_privilege_assigned( &token->privilege_mask, privilege );
+ return is_any_privilege_assigned( &token->privilege_mask, privilege_mask );
}
/*******************************************************************