From f1fad2efe4daf95ad77db6251ad5d77fb9ef755c Mon Sep 17 00:00:00 2001 From: Tim Prouty Date: Thu, 9 Jul 2009 15:56:36 -0700 Subject: s3: Fix two arguments that broke when plumbing smb_filneame through dos_mode() --- source3/smbd/dosmode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/smbd') 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; } -- cgit