diff options
author | dvorkanton <[email protected]> | 2022-02-10 16:46:04 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:46:04 +0300 |
commit | 110a978b66fe6c0916572df51cfead2a9b647174 (patch) | |
tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /util/system | |
parent | ce1ca0f8ad5b8231d32b35629f85bb09beea1bfb (diff) |
Restoring authorship annotation for <[email protected]>. Commit 2 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 01a7cd230c8..65c290e6ccc 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 c2b1ee226b7..d2611a8ccc4 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); |