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
commitbd30392c4cc92487950adc375c07adf52da1d592 (patch)
treee8d1a3f19b7fc890bcef6e4cc5de41f1d88c9ac3 /util/system/info.cpp
parent5d50718e66d9c037dc587a0211110b7d25a66185 (diff)
downloadydb-bd30392c4cc92487950adc375c07adf52da1d592.tar.gz
Restoring authorship annotation for <mvel@yandex-team.ru>. Commit 1 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 cf6681e89a..0d4ac42885 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