diff options
Diffstat (limited to 'source4/ntvfs')
-rw-r--r-- | source4/ntvfs/cifs_posix_cli/vfs_simple.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/ntvfs/cifs_posix_cli/vfs_simple.c b/source4/ntvfs/cifs_posix_cli/vfs_simple.c index cdecf5f8c6..bbe52d9db1 100644 --- a/source4/ntvfs/cifs_posix_cli/vfs_simple.c +++ b/source4/ntvfs/cifs_posix_cli/vfs_simple.c @@ -819,7 +819,7 @@ static NTSTATUS svfs_search_first(struct ntvfs_module_context *ntvfs, file.both_directory_info.name.s = dir->files[i].name; file.both_directory_info.short_name.s = dir->files[i].name; file.both_directory_info.size = dir->files[i].st.st_size; - file.both_directory_info.attrib = svfs_unix_to_dos_attrib(dir->files[i].st.st_mode); + file.both_directory_info.attrib = cvfs_unix_to_dos_attrib(dir->files[i].st.st_mode); if (!callback(search_private, &file)) { break; @@ -910,7 +910,7 @@ found: file.both_directory_info.name.s = dir->files[i].name; file.both_directory_info.short_name.s = dir->files[i].name; file.both_directory_info.size = dir->files[i].st.st_size; - file.both_directory_info.attrib = svfs_unix_to_dos_attrib(dir->files[i].st.st_mode); + file.both_directory_info.attrib = cvfs_unix_to_dos_attrib(dir->files[i].st.st_mode); if (!callback(search_private, &file)) { break; |