summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fhandler_disk_file.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/fhandler_disk_file.cc')
-rw-r--r--winsup/cygwin/fhandler_disk_file.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/fhandler_disk_file.cc b/winsup/cygwin/fhandler_disk_file.cc
index 178cafa65..0567a1352 100644
--- a/winsup/cygwin/fhandler_disk_file.cc
+++ b/winsup/cygwin/fhandler_disk_file.cc
@@ -494,7 +494,7 @@ fhandler_base::fstat_by_name (struct stat *buf)
debug_printf ("%y = NtQueryDirectoryFile(%S)", status,
pc.get_nt_native_path ());
else
- ino = fdi_buf.fdi.IndexNumber.QuadPart;
+ ino = fdi_buf.fdi.FileId.QuadPart;
}
}
return fstat_helper (buf, 1);
@@ -2339,7 +2339,7 @@ go_ahead:
FileNameLength = buf->FileNameLength;
FileAttributes = buf->FileAttributes;
if ((dir->__flags & dirent_set_d_ino))
- de->d_ino = buf->IndexNumber.QuadPart;
+ de->d_ino = buf->FileId.QuadPart;
}
else if ((dir->__flags & dirent_nfs_d_ino))
{