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
commit7fe839092527589b38f014d854c51565b3c1adfa (patch)
tree309e97022d3530044b712b8f71318c78faf7856e /util/system/info.cpp
parentd0d68c395c10da4cb56a1c845504570a04d7893e (diff)
downloadydb-7fe839092527589b38f014d854c51565b3c1adfa.tar.gz
Restoring authorship annotation for <tobo@yandex-team.ru>. Commit 1 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 cf6681e89a..6546cca238 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;