From 3fd2d4ed856bc4fa053e1c03926ca71bb4ab1a9f Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 5 Nov 2007 23:23:05 +0100 Subject: Add two const's. Michael (This used to be commit bf23c4ddff617dd3cd1e2d5cedb1b5c023356dc3) --- source3/smbd/posix_acls.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/smbd/posix_acls.c') diff --git a/source3/smbd/posix_acls.c b/source3/smbd/posix_acls.c index b8afbb8710..7f03d7ebc5 100644 --- a/source3/smbd/posix_acls.c +++ b/source3/smbd/posix_acls.c @@ -1081,7 +1081,7 @@ static bool ensure_canon_entry_valid(canon_ace **pp_ace, const files_struct *fsp, const DOM_SID *pfile_owner_sid, const DOM_SID *pfile_grp_sid, - SMB_STRUCT_STAT *pst, + const SMB_STRUCT_STAT *pst, bool setting_acl) { canon_ace *pace; @@ -2066,7 +2066,7 @@ static bool unpack_canon_ace(files_struct *fsp, But NT cannot display this in their ACL editor ! ********************************************************************************/ -static void arrange_posix_perms( char *filename, canon_ace **pp_list_head) +static void arrange_posix_perms(const char *filename, canon_ace **pp_list_head) { canon_ace *list_head = *pp_list_head; canon_ace *owner_ace = NULL; -- cgit