aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/info.cpp
diff options
context:
space:
mode:
authormvel <mvel@yandex-team.ru>2022-02-10 16:45:41 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:41 +0300
commit43f5a35593ebc9f6bcea619bb170394ea7ae468e (patch)
treee98df59de24d2ef7c77baed9f41e4875a2fef972 /util/system/info.cpp
parentbd30392c4cc92487950adc375c07adf52da1d592 (diff)
downloadydb-43f5a35593ebc9f6bcea619bb170394ea7ae468e.tar.gz
Restoring authorship annotation for <mvel@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/system/info.cpp')
-rw-r--r--util/system/info.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/system/info.cpp b/util/system/info.cpp
index 0d4ac42885..cf6681e89a 100644
--- a/util/system/info.cpp
+++ b/util/system/info.cpp
@@ -148,9 +148,9 @@ size_t NSystemInfo::LoadAverage(double* la, size_t len) {
#if defined(_win_) || defined(_musl_) || defined(_bionic_)
int ret = -1;
#else
- for (size_t i = 0; i < len; ++i) {
- la[i] = 0;
- }
+ for (size_t i = 0; i < len; ++i) {
+ la[i] = 0;
+ }
int ret = getloadavg(la, len);
#endif