diff options
author | leo <leo@yandex-team.ru> | 2022-02-10 16:46:40 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:40 +0300 |
commit | 980edcd3304699edf9d4e4d6a656e585028e2a72 (patch) | |
tree | 139f47f3911484ae9af0eb347b1a88bd6c4bb35f /util/system/err.cpp | |
parent | b036a557f285146e5e35d4213e29a094ab907bcf (diff) | |
download | ydb-980edcd3304699edf9d4e4d6a656e585028e2a72.tar.gz |
Restoring authorship annotation for <leo@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/system/err.cpp')
-rw-r--r-- | util/system/err.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/system/err.cpp b/util/system/err.cpp index 5573ea1ee9..48bddb783d 100644 --- a/util/system/err.cpp +++ b/util/system/err.cpp @@ -1,4 +1,4 @@ -#include "defaults.h" +#include "defaults.h" #include "progname.h" #include "compat.h" #include "error.h" @@ -21,7 +21,7 @@ void vwarnx(const char* fmt, va_list args) { void vwarn(const char* fmt, va_list args) { int curErrNo = errno; auto curErrText = LastSystemErrorText(); - + Y_DEFER { errno = curErrNo; }; |