summaryrefslogtreecommitdiffstats
path: root/util/system/file.cpp
diff options
context:
space:
mode:
authororivej <[email protected]>2022-02-10 16:44:49 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:44:49 +0300
commit718c552901d703c502ccbefdfc3c9028d608b947 (patch)
tree46534a98bbefcd7b1f3faa5b52c138ab27db75b7 /util/system/file.cpp
parente9656aae26e0358d5378e5b63dcac5c8dbe0e4d0 (diff)
Restoring authorship annotation for <[email protected]>. Commit 1 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 4a261d020cb..54bf27525f3 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_)