mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
s3: Fix two arguments that broke when plumbing smb_filneame through dos_mode()
This commit is contained in:
parent
c624a704be
commit
f1fad2efe4
@ -448,8 +448,8 @@ static bool get_stat_dos_flags(connection_struct *conn,
|
||||
if (S_ISDIR(smb_fname->st.st_ex_mode))
|
||||
*dosmode |= aDIR;
|
||||
|
||||
*dosmode |= set_sparse_flag(smb_fname->st);
|
||||
*dosmode |= set_link_read_only_flag(smb_fname->st);
|
||||
*dosmode |= set_sparse_flag(&smb_fname->st);
|
||||
*dosmode |= set_link_read_only_flag(&smb_fname->st);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user