diff options
author | dimko <dimko@yandex-team.ru> | 2022-02-10 16:50:07 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:07 +0300 |
commit | 811ece47d06924d20a94f89d1b0f5cd37254a49c (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /util/system/error.cpp | |
parent | 5df1bbceafd25528f800dbe399738150b20384f3 (diff) | |
download | ydb-811ece47d06924d20a94f89d1b0f5cd37254a49c.tar.gz |
Restoring authorship annotation for <dimko@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/system/error.cpp')
-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 a9f782127f..f778ec42cb 100644 --- a/util/system/error.cpp +++ b/util/system/error.cpp @@ -84,9 +84,9 @@ void LastSystemErrorText(char* str, size_t size, int code) { FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM, 0, code, 0, str, DWORD(size), 0); Strip(str); #elif defined(_sun_) - strfcpy(str, strerror(code), size); + strfcpy(str, strerror(code), size); #elif defined(_freebsd_) || defined(_darwin_) || defined(_musl_) || defined(_bionic_) - strerror_r(code, str, size); + strerror_r(code, str, size); #elif defined(_linux_) | defined(_cygwin_) char* msg = strerror_r(code, str, size); strncpy(str, msg, size); |