summaryrefslogtreecommitdiff
path: root/source3/utils/sharesec.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-02-23 15:44:34 -0800
committerJeremy Allison <jra@samba.org>2009-02-23 15:44:34 -0800
commit2033b44c3f0872d98d8144a9fbf6d09fbde196e5 (patch)
tree0d39ec2fce365780c207175801002edbb4f3f8ba /source3/utils/sharesec.c
parent0b62cdbed0867d0712821953700062727f668c65 (diff)
downloadsamba-2033b44c3f0872d98d8144a9fbf6d09fbde196e5.tar.gz
samba-2033b44c3f0872d98d8144a9fbf6d09fbde196e5.tar.bz2
samba-2033b44c3f0872d98d8144a9fbf6d09fbde196e5.zip
More warning fixes for Solaris.
Jeremy.
Diffstat (limited to 'source3/utils/sharesec.c')
-rw-r--r--source3/utils/sharesec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/utils/sharesec.c b/source3/utils/sharesec.c
index ae2a9adf64..4be77ecadd 100644
--- a/source3/utils/sharesec.c
+++ b/source3/utils/sharesec.c
@@ -298,7 +298,7 @@ static SEC_DESC* parse_acl_string(TALLOC_CTX *mem_ctx, const char *szACL, size_t
{
SEC_DESC *sd = NULL;
SEC_ACE *ace;
- SEC_ACL *acl;
+ SEC_ACL *theacl;
int num_ace;
const char *pacl;
int i;
@@ -326,11 +326,11 @@ static SEC_DESC* parse_acl_string(TALLOC_CTX *mem_ctx, const char *szACL, size_t
pacl++;
}
- if ( !(acl = make_sec_acl( mem_ctx, NT4_ACL_REVISION, num_ace, ace )) )
+ if ( !(theacl = make_sec_acl( mem_ctx, NT4_ACL_REVISION, num_ace, ace )) )
return NULL;
sd = make_sec_desc( mem_ctx, SEC_DESC_REVISION, SEC_DESC_SELF_RELATIVE,
- NULL, NULL, NULL, acl, sd_size);
+ NULL, NULL, NULL, theacl, sd_size);
return sd;
}