summaryrefslogtreecommitdiffstats
path: root/source3/smbd/dosmode.c
diff options
context:
space:
mode:
authorTim Prouty <tprouty@samba.org>2009-07-09 15:56:36 -0700
committerTim Prouty <tprouty@samba.org>2009-07-09 15:56:53 -0700
commitf1fad2efe4daf95ad77db6251ad5d77fb9ef755c (patch)
tree93f1293dc6d21e0ae918da3998c1f989c211ccfd /source3/smbd/dosmode.c
parentc624a704be96488f0aee27930cbd4c8d99df464b (diff)
downloadsamba-f1fad2efe4daf95ad77db6251ad5d77fb9ef755c.tar.gz
samba-f1fad2efe4daf95ad77db6251ad5d77fb9ef755c.tar.xz
samba-f1fad2efe4daf95ad77db6251ad5d77fb9ef755c.zip
s3: Fix two arguments that broke when plumbing smb_filneame through dos_mode()
Diffstat (limited to 'source3/smbd/dosmode.c')
-rw-r--r--source3/smbd/dosmode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/dosmode.c b/source3/smbd/dosmode.c
index ca926aa33c..d3df80ad91 100644
--- a/source3/smbd/dosmode.c
+++ b/source3/smbd/dosmode.c
@@ -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;
}