summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-05-08 14:11:27 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-05-09 04:21:05 +0200
commitfc4c06f284d88b6c1997768dd448e2dac80739cb (patch)
tree6ac7dbc5f09b396e7269cc327a4d2bf0007a0c76 /source3/lib
parent9ef47b8fe3a8e1d940946ae611b807fa2cbd5b70 (diff)
downloadsamba-fc4c06f284d88b6c1997768dd448e2dac80739cb.tar.gz
samba-fc4c06f284d88b6c1997768dd448e2dac80739cb.tar.bz2
samba-fc4c06f284d88b6c1997768dd448e2dac80739cb.zip
s3-lib: Add const to sys_acl_to_text
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/sysacls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/sysacls.c b/source3/lib/sysacls.c
index bf0b338a0f..b0a3479a62 100644
--- a/source3/lib/sysacls.c
+++ b/source3/lib/sysacls.c
@@ -148,7 +148,7 @@ int sys_acl_get_perm(SMB_ACL_PERMSET_T permset_d, SMB_ACL_PERM_T perm)
return *permset_d & perm;
}
-char *sys_acl_to_text(SMB_ACL_T acl_d, ssize_t *len_p)
+char *sys_acl_to_text(const struct smb_acl_t *acl_d, ssize_t *len_p)
{
int i;
int len, maxlen;