aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/info.cpp
diff options
context:
space:
mode:
authortobo <tobo@yandex-team.ru>2022-02-10 16:47:27 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:27 +0300
commit55a7f90e4cd31e9481cace8ee5dfd682c27e810e (patch)
tree9814fbd1c3effac9b8377c5d604b367b14e2db55 /util/system/info.cpp
parent7fe839092527589b38f014d854c51565b3c1adfa (diff)
downloadydb-55a7f90e4cd31e9481cace8ee5dfd682c27e810e.tar.gz
Restoring authorship annotation for <tobo@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/system/info.cpp')
-rw-r--r--util/system/info.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/system/info.cpp b/util/system/info.cpp
index 6546cca238..cf6681e89a 100644
--- a/util/system/info.cpp
+++ b/util/system/info.cpp
@@ -106,11 +106,11 @@ size_t NSystemInfo::NumberOfCpus() {
column = 0;
} else if (column != -1) {
if (AsciiToLower(ch) == matchstr[column]) {
- ++column;
+ ++column;
if (column == sizeof(matchstr) - 1) {
column = -1;
- ++ret;
+ ++ret;
}
} else {
column = -1;