summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/ntvfs/posix/pvfs_qfileinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntvfs/posix/pvfs_qfileinfo.c b/source4/ntvfs/posix/pvfs_qfileinfo.c
index 30390722d1..78d0983bf6 100644
--- a/source4/ntvfs/posix/pvfs_qfileinfo.c
+++ b/source4/ntvfs/posix/pvfs_qfileinfo.c
@@ -47,7 +47,7 @@ static NTSTATUS pvfs_map_fileinfo(struct pvfs_state *pvfs, TALLOC_CTX *mem_ctx,
info->generic.out.ea_size = 0;
info->generic.out.num_eas = 0;
info->generic.out.fname.s = name->original_name;
- info->generic.out.alt_fname.s = pvfs_short_name(pvfs, name);
+ info->generic.out.alt_fname.s = pvfs_short_name(pvfs, name, name);
info->generic.out.compressed_size = name->st.st_size;
info->generic.out.format = 0;
info->generic.out.unit_shift = 0;