From 7b582af2107bed3b864bb408b5c9bcce4b8e4c72 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 6 Nov 2007 06:31:24 +0100 Subject: [PATCH] Add a const. Michael --- source/smbd/posix_acls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/smbd/posix_acls.c b/source/smbd/posix_acls.c index 7f03d7ebc57..6422badf635 100644 --- a/source/smbd/posix_acls.c +++ b/source/smbd/posix_acls.c @@ -662,7 +662,7 @@ static int map_acl_perms_to_permset(connection_struct *conn, mode_t mode, SMB_AC Function to create owner and group SIDs from a SMB_STRUCT_STAT. ****************************************************************************/ -static void create_file_sids(SMB_STRUCT_STAT *psbuf, DOM_SID *powner_sid, DOM_SID *pgroup_sid) +static void create_file_sids(const SMB_STRUCT_STAT *psbuf, DOM_SID *powner_sid, DOM_SID *pgroup_sid) { uid_to_sid( powner_sid, psbuf->st_uid ); gid_to_sid( pgroup_sid, psbuf->st_gid ); -- 2.34.1