aboutsummaryrefslogtreecommitdiffstats
path: root/util/system
diff options
context:
space:
mode:
authordvorkanton <dvorkanton@yandex-team.ru>2022-02-10 16:46:04 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:04 +0300
commitce1ca0f8ad5b8231d32b35629f85bb09beea1bfb (patch)
tree19b21fdcf9ef01e0c94a15434fb08a4a555a79e9 /util/system
parentfc361854fd6ee8d747229b090f0b8018e260d1fb (diff)
downloadydb-ce1ca0f8ad5b8231d32b35629f85bb09beea1bfb.tar.gz
Restoring authorship annotation for <dvorkanton@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/system')
-rw-r--r--util/system/atomic_win.h2
-rw-r--r--util/system/fs.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/util/system/atomic_win.h b/util/system/atomic_win.h
index 65c290e6cc..01a7cd230c 100644
--- a/util/system/atomic_win.h
+++ b/util/system/atomic_win.h
@@ -44,7 +44,7 @@ static inline bool AtomicCas(TAtomic* a, intptr_t exchange, intptr_t compare) {
return _InterlockedCompareExchange((volatile long*)a, exchange, compare) == compare;
}
-static inline intptr_t AtomicGetAndCas(TAtomic* a, intptr_t exchange, intptr_t compare) {
+static inline intptr_t AtomicGetAndCas(TAtomic* a, intptr_t exchange, intptr_t compare) {
return _InterlockedCompareExchange((volatile long*)a, exchange, compare);
}
diff --git a/util/system/fs.cpp b/util/system/fs.cpp
index d2611a8ccc..c2b1ee226b 100644
--- a/util/system/fs.cpp
+++ b/util/system/fs.cpp
@@ -122,7 +122,7 @@ TString NFs::ReadLink(const TString& path) {
while (true) {
ssize_t r = readlink(path.data(), buf.Data(), buf.Size());
if (r < 0) {
- ythrow yexception() << "can't read link " << path << ", errno = " << errno;
+ ythrow yexception() << "can't read link " << path << ", errno = " << errno;
}
if (r < (ssize_t)buf.Size()) {
return TString(buf.Data(), r);