diff options
author | f0b0s <f0b0s@yandex-team.ru> | 2022-02-10 16:46:51 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:51 +0300 |
commit | deabc5260ac2e17b8f5152ee060bec1740613540 (patch) | |
tree | bc498b2fe3c447d13c2abea85b429fee8dd485ef /util/system/mem_info.cpp | |
parent | 2e6009493e74f88988b81f219b301f450331648d (diff) | |
download | ydb-deabc5260ac2e17b8f5152ee060bec1740613540.tar.gz |
Restoring authorship annotation for <f0b0s@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/system/mem_info.cpp')
-rw-r--r-- | util/system/mem_info.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/system/mem_info.cpp b/util/system/mem_info.cpp index aa51ae3b16..bd6edc2076 100644 --- a/util/system/mem_info.cpp +++ b/util/system/mem_info.cpp @@ -148,7 +148,7 @@ namespace NMemInfo { } struct proc_taskinfo taskInfo; const int r = proc_pidinfo(pid, PROC_PIDTASKINFO, 0, &taskInfo, sizeof(taskInfo)); - + if (r != sizeof(taskInfo)) { int err = errno; TString errtxt = LastSystemErrorText(err); |