diff options
author | Jeremy Allison <jra@samba.org> | 2009-02-23 15:44:34 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2009-02-23 15:44:34 -0800 |
commit | 2033b44c3f0872d98d8144a9fbf6d09fbde196e5 (patch) | |
tree | 0d39ec2fce365780c207175801002edbb4f3f8ba /source3/rpc_server | |
parent | 0b62cdbed0867d0712821953700062727f668c65 (diff) | |
download | samba-2033b44c3f0872d98d8144a9fbf6d09fbde196e5.tar.gz samba-2033b44c3f0872d98d8144a9fbf6d09fbde196e5.tar.bz2 samba-2033b44c3f0872d98d8144a9fbf6d09fbde196e5.zip |
More warning fixes for Solaris.
Jeremy.
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_svcctl_nt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/rpc_server/srv_svcctl_nt.c b/source3/rpc_server/srv_svcctl_nt.c index 33bf3d0098..b90a189f7e 100644 --- a/source3/rpc_server/srv_svcctl_nt.c +++ b/source3/rpc_server/srv_svcctl_nt.c @@ -139,7 +139,7 @@ static SEC_DESC* construct_scm_sd( TALLOC_CTX *ctx ) SEC_ACE ace[2]; size_t i = 0; SEC_DESC *sd; - SEC_ACL *acl; + SEC_ACL *theacl; size_t sd_size; /* basic access for Everyone */ @@ -155,12 +155,12 @@ static SEC_DESC* construct_scm_sd( TALLOC_CTX *ctx ) /* create the security descriptor */ - if ( !(acl = make_sec_acl(ctx, NT4_ACL_REVISION, i, ace)) ) + if ( !(theacl = make_sec_acl(ctx, NT4_ACL_REVISION, i, ace)) ) return NULL; if ( !(sd = make_sec_desc(ctx, SECURITY_DESCRIPTOR_REVISION_1, SEC_DESC_SELF_RELATIVE, NULL, NULL, NULL, - acl, &sd_size)) ) + theacl, &sd_size)) ) return NULL; return sd; |