diff options
author | zdm <zdm@yandex-team.ru> | 2022-02-10 16:49:24 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:24 +0300 |
commit | 19bd45eb7775ffded0c62ab05d10b7326198aaa6 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /util | |
parent | 5062bdf2c2bf1b46701280e5dc5ed6d1f7bd4e3e (diff) | |
download | ydb-19bd45eb7775ffded0c62ab05d10b7326198aaa6.tar.gz |
Restoring authorship annotation for <zdm@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util')
-rw-r--r-- | util/system/error.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/system/error.cpp b/util/system/error.cpp index db6df57827..f778ec42cb 100644 --- a/util/system/error.cpp +++ b/util/system/error.cpp @@ -88,8 +88,8 @@ void LastSystemErrorText(char* str, size_t size, int code) { #elif defined(_freebsd_) || defined(_darwin_) || defined(_musl_) || defined(_bionic_) strerror_r(code, str, size); #elif defined(_linux_) | defined(_cygwin_) - char* msg = strerror_r(code, str, size); - strncpy(str, msg, size); + char* msg = strerror_r(code, str, size); + strncpy(str, msg, size); #else #error port me gently! #endif |