diff options
author | Michael Adam <obnox@samba.org> | 2007-11-06 06:31:24 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2007-11-06 18:16:23 +0100 |
commit | 1fd78e226b503a1bce412ad6adbadc4c30a5f6e6 (patch) | |
tree | 4a66c0f46369f6e8a02755615e6f285b062b72de /source3 | |
parent | 4930bab6b818254b3061cb4854fe6b7262bc2b1c (diff) | |
download | samba-1fd78e226b503a1bce412ad6adbadc4c30a5f6e6.tar.gz samba-1fd78e226b503a1bce412ad6adbadc4c30a5f6e6.tar.bz2 samba-1fd78e226b503a1bce412ad6adbadc4c30a5f6e6.zip |
Add a const.
Michael
(This used to be commit 7b582af2107bed3b864bb408b5c9bcce4b8e4c72)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/posix_acls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/posix_acls.c b/source3/smbd/posix_acls.c index 7f03d7ebc5..6422badf63 100644 --- a/source3/smbd/posix_acls.c +++ b/source3/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 ); |