aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/file.cpp
diff options
context:
space:
mode:
authordeshevoy <deshevoy@yandex-team.ru>2022-02-10 16:46:57 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:57 +0300
commit28148f76dbfcc644d96427d41c92f36cbf2fdc6e (patch)
treeb83306b6e37edeea782e9eed673d89286c4fef35 /util/system/file.cpp
parente988f30484abe5fdeedcc7a5d3c226c01a21800c (diff)
downloadydb-28148f76dbfcc644d96427d41c92f36cbf2fdc6e.tar.gz
Restoring authorship annotation for <deshevoy@yandex-team.ru>. Commit 2 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 7a7a8a4fa0f..4a261d020cb 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