diff options
author | dvorkanton <dvorkanton@yandex-team.ru> | 2022-02-10 16:46:04 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:04 +0300 |
commit | ce1ca0f8ad5b8231d32b35629f85bb09beea1bfb (patch) | |
tree | 19b21fdcf9ef01e0c94a15434fb08a4a555a79e9 /util/system | |
parent | fc361854fd6ee8d747229b090f0b8018e260d1fb (diff) | |
download | ydb-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.h | 2 | ||||
-rw-r--r-- | util/system/fs.cpp | 2 |
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); |