aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/fstat.cpp
diff options
context:
space:
mode:
authoreasergeev <easergeev@yandex-team.ru>2022-02-10 16:51:45 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:51:45 +0300
commit4596484b94e7bba39c8241e41e9c7f7b5665fdc5 (patch)
treeab7fbbf3253d4c0e2793218f09378908beb025fb /util/system/fstat.cpp
parent2db97242fffe2a2e7fcfb321249fbb3ade943210 (diff)
downloadydb-4596484b94e7bba39c8241e41e9c7f7b5665fdc5.tar.gz
Restoring authorship annotation for <easergeev@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 a09b0a8f72..81e98cbc6b 100644
--- a/util/system/fstat.cpp
+++ b/util/system/fstat.cpp
@@ -51,7 +51,7 @@ static void MakeStat(TFileStat& st, const TSystemFStat& fs) {
st.Uid = fs.st_uid;
st.Gid = fs.st_gid;
st.Size = fs.st_size;
- st.AllocationSize = fs.st_blocks * 512;
+ st.AllocationSize = fs.st_blocks * 512;
st.ATime = fs.st_atime;
st.MTime = fs.st_mtime;
st.CTime = fs.st_ctime;
@@ -69,7 +69,7 @@ static void MakeStat(TFileStat& st, const TSystemFStat& fs) {
st.Uid = 0;
st.Gid = 0;
st.Size = ((ui64)fs.nFileSizeHigh << 32) | fs.nFileSizeLow;
- st.AllocationSize = st.Size; // FIXME
+ st.AllocationSize = st.Size; // FIXME
st.INode = ((ui64)fs.nFileIndexHigh << 32) | fs.nFileIndexLow;
#endif
}