aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/fstat.cpp
diff options
context:
space:
mode:
authorxpahos <xpahos@yandex-team.ru>2022-02-10 16:47:21 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:21 +0300
commitda8fe75e5a837ef6a6e8a21f96dcee631e8b5a1e (patch)
tree9814fbd1c3effac9b8377c5d604b367b14e2db55 /util/system/fstat.cpp
parent52faf709473af8421da1e2ea84ae1879b16665b8 (diff)
downloadydb-da8fe75e5a837ef6a6e8a21f96dcee631e8b5a1e.tar.gz
Restoring authorship annotation for <xpahos@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/system/fstat.cpp')
-rw-r--r--util/system/fstat.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/system/fstat.cpp b/util/system/fstat.cpp
index 5ee7930a90..81e98cbc6b 100644
--- a/util/system/fstat.cpp
+++ b/util/system/fstat.cpp
@@ -55,7 +55,7 @@ static void MakeStat(TFileStat& st, const TSystemFStat& fs) {
st.ATime = fs.st_atime;
st.MTime = fs.st_mtime;
st.CTime = fs.st_ctime;
- st.INode = fs.st_ino;
+ st.INode = fs.st_ino;
#else
timeval tv;
FileTimeToTimeval(&fs.ftCreationTime, &tv);
@@ -70,7 +70,7 @@ static void MakeStat(TFileStat& st, const TSystemFStat& fs) {
st.Gid = 0;
st.Size = ((ui64)fs.nFileSizeHigh << 32) | fs.nFileSizeLow;
st.AllocationSize = st.Size; // FIXME
- st.INode = ((ui64)fs.nFileIndexHigh << 32) | fs.nFileIndexLow;
+ st.INode = ((ui64)fs.nFileIndexHigh << 32) | fs.nFileIndexLow;
#endif
}