aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/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/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/info.cpp')
-rw-r--r--util/system/info.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/system/info.cpp b/util/system/info.cpp
index cf6681e89a..78db83cd61 100644
--- a/util/system/info.cpp
+++ b/util/system/info.cpp
@@ -134,7 +134,7 @@ size_t NSystemInfo::NumberOfCpus() {
mib[0] = CTL_HW;
mib[1] = HW_NCPU;
len = sizeof(ncpus);
- if (sysctl(mib, 2, &ncpus, &len, nullptr, 0) == -1) {
+ if (sysctl(mib, 2, &ncpus, &len, nullptr, 0) == -1) {
abort();
}