summaryrefslogtreecommitdiffstats
path: root/util/system/file.cpp
diff options
context:
space:
mode:
authororivej <[email protected]>2022-02-10 16:45:01 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:45:01 +0300
commit2d37894b1b037cf24231090eda8589bbb44fb6fc (patch)
treebe835aa92c6248212e705f25388ebafcf84bc7a1 /util/system/file.cpp
parent718c552901d703c502ccbefdfc3c9028d608b947 (diff)
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'util/system/file.cpp')
-rw-r--r--util/system/file.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/system/file.cpp b/util/system/file.cpp
index 54bf27525f3..4a261d020cb 100644
--- a/util/system/file.cpp
+++ b/util/system/file.cpp
@@ -512,7 +512,7 @@ i32 TFileHandle::Pread(void* buffer, ui32 byteCount, i64 offset) const noexcept
return bytesRead;
}
if (::GetLastError() == ERROR_HANDLE_EOF) {
- return 0;
+ return 0;
}
return -1;
#elif defined(_unix_)