aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/file.cpp
diff options
context:
space:
mode:
authordeshevoy <deshevoy@yandex-team.ru>2022-02-10 16:46:56 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:56 +0300
commite988f30484abe5fdeedcc7a5d3c226c01a21800c (patch)
tree0a217b173aabb57b7e51f8a169989b1a3e0309fe /util/system/file.cpp
parent33ee501c05d3f24036ae89766a858930ae66c548 (diff)
downloadydb-e988f30484abe5fdeedcc7a5d3c226c01a21800c.tar.gz
Restoring authorship annotation for <deshevoy@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/system/file.cpp')
-rw-r--r--util/system/file.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/system/file.cpp b/util/system/file.cpp
index 4a261d020cb..7a7a8a4fa0f 100644
--- a/util/system/file.cpp
+++ b/util/system/file.cpp
@@ -432,12 +432,12 @@ bool TFileHandle::Flush() noexcept {
* (PIPE, FIFO, or socket) which does not support synchronization.
* Fail in case of EIO, ENOSPC, EDQUOT - data might be lost.
*/
- return ret == 0 || errno == EROFS || errno == EINVAL
+ return ret == 0 || errno == EROFS || errno == EINVAL
#if defined(_darwin_)
// ENOTSUP fd does not refer to a vnode
|| errno == ENOTSUP
#endif
- ;
+ ;
#else
#error unsupported platform
#endif