aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/mem_info.cpp
diff options
context:
space:
mode:
authoryazevnul <yazevnul@yandex-team.ru>2022-02-10 16:46:46 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:46 +0300
commit8cbc307de0221f84c80c42dcbe07d40727537e2c (patch)
tree625d5a673015d1df891e051033e9fcde5c7be4e5 /util/system/mem_info.cpp
parent30d1ef3941e0dc835be7609de5ebee66958f215a (diff)
downloadydb-8cbc307de0221f84c80c42dcbe07d40727537e2c.tar.gz
Restoring authorship annotation for <yazevnul@yandex-team.ru>. Commit 1 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 aa51ae3b16..e5f60b49be 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;