diff options
author | f0b0s <[email protected]> | 2022-02-10 16:46:51 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:46:51 +0300 |
commit | cdae02d225fb5b3afbb28990e79a7ac6c9125327 (patch) | |
tree | 49e222ea1c5804306084bb3ae065bb702625360f /util/system/mem_info.cpp | |
parent | deabc5260ac2e17b8f5152ee060bec1740613540 (diff) |
Restoring authorship annotation for <[email protected]>. Commit 2 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 bd6edc2076b..aa51ae3b16d 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); |