summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/ntvfs/posix/pvfs_setfileinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntvfs/posix/pvfs_setfileinfo.c b/source4/ntvfs/posix/pvfs_setfileinfo.c
index 71a9ce1266..4b00a8ac5d 100644
--- a/source4/ntvfs/posix/pvfs_setfileinfo.c
+++ b/source4/ntvfs/posix/pvfs_setfileinfo.c
@@ -90,7 +90,7 @@ NTSTATUS pvfs_setfileinfo(struct ntvfs_module_context *ntvfs,
if (info->basic_info.in.change_time) {
newstats.dos.change_time = info->basic_info.in.change_time;
}
- if (info->basic_info.in.attrib != FILE_ATTRIBUTE_NORMAL) {
+ if (info->basic_info.in.attrib != 0) {
newstats.dos.attrib = info->basic_info.in.attrib;
}
break;