aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/mem_info.cpp
diff options
context:
space:
mode:
authoryazevnul <yazevnul@yandex-team.ru>2022-02-10 16:46:48 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:48 +0300
commit9abfb1a53b7f7b791444d1378e645d8fad9b06ed (patch)
tree49e222ea1c5804306084bb3ae065bb702625360f /util/system/mem_info.cpp
parent8cbc307de0221f84c80c42dcbe07d40727537e2c (diff)
downloadydb-9abfb1a53b7f7b791444d1378e645d8fad9b06ed.tar.gz
Restoring authorship annotation for <yazevnul@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/system/mem_info.cpp')
-rw-r--r--util/system/mem_info.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/system/mem_info.cpp b/util/system/mem_info.cpp
index e5f60b49be..aa51ae3b16 100644
--- a/util/system/mem_info.cpp
+++ b/util/system/mem_info.cpp
@@ -134,7 +134,7 @@ namespace NMemInfo {
Zero(proc);
errno = 0;
- if (sysctl((int*)mib, 4, &proc, &size, nullptr, 0) == -1) {
+ if (sysctl((int*)mib, 4, &proc, &size, nullptr, 0) == -1) {
int err = errno;
TString errtxt = LastSystemErrorText(err);
ythrow yexception() << "sysctl({CTL_KERN,KERN_PROC,KERN_PROC_PID,pid},4,proc,&size,NULL,0) returned -1, errno: " << err << " (" << errtxt << ")" << Endl;