summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/syscalls.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/syscalls.cc')
-rw-r--r--winsup/cygwin/syscalls.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc
index eb3993d3d..f7122dcb9 100644
--- a/winsup/cygwin/syscalls.cc
+++ b/winsup/cygwin/syscalls.cc
@@ -1204,7 +1204,7 @@ fstat64 (int fd, struct __stat64 *buf)
if (!res)
{
if (!buf->st_ino)
- buf->st_ino = cfd->get_namehash ();
+ buf->st_ino = cfd->get_ino ();
if (!buf->st_dev)
buf->st_dev = cfd->get_device ();
if (!buf->st_rdev)
@@ -1367,7 +1367,7 @@ stat_worker (path_conv &pc, struct __stat64 *buf)
if (!res)
{
if (!buf->st_ino)
- buf->st_ino = fh->get_namehash ();
+ buf->st_ino = fh->get_ino ();
if (!buf->st_dev)
buf->st_dev = fh->get_device ();
if (!buf->st_rdev)