summaryrefslogtreecommitdiff
path: root/libgpo/gpo_filesync.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2020-06-03 10:41:27 -0700
committerJeremy Allison <jra@samba.org>2020-06-04 17:11:36 +0000
commit8db0ba666ab10fa8f5a2de1778ee197b083ce29e (patch)
tree14aaa7701c6aeebe01d7c75b3fd7c86db095b727 /libgpo/gpo_filesync.c
parent469aaaea076679f296ed4eca276e7b1c76a1395b (diff)
downloadsamba-8db0ba666ab10fa8f5a2de1778ee197b083ce29e.tar.gz
s3: libsmb: In struct file_info rename mode -> attr.
Cleanup. It's never been a UNIX mode, always a DOS attribute field. Make that explicit. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'libgpo/gpo_filesync.c')
-rw-r--r--libgpo/gpo_filesync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgpo/gpo_filesync.c b/libgpo/gpo_filesync.c
index b19a9e746bf..28637619226 100644
--- a/libgpo/gpo_filesync.c
+++ b/libgpo/gpo_filesync.c
@@ -155,7 +155,7 @@ static NTSTATUS gpo_sync_func(const char *mnt,
DEBUG(5,("gpo_sync_func: got mask: [%s], name: [%s]\n",
mask, info->name));
- if (info->mode & FILE_ATTRIBUTE_DIRECTORY) {
+ if (info->attr & FILE_ATTRIBUTE_DIRECTORY) {
DEBUG(3,("got dir: [%s]\n", info->name));