diff options
author | leo <[email protected]> | 2022-02-10 16:46:40 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:46:40 +0300 |
commit | 99609724f661f7e21d1cb08e8d80e87c3632fdb3 (patch) | |
tree | 49e222ea1c5804306084bb3ae065bb702625360f /util/system/info.cpp | |
parent | 980edcd3304699edf9d4e4d6a656e585028e2a72 (diff) |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'util/system/info.cpp')
-rw-r--r-- | util/system/info.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/system/info.cpp b/util/system/info.cpp index 34699e5dd28..cf6681e89a9 100644 --- a/util/system/info.cpp +++ b/util/system/info.cpp @@ -146,14 +146,14 @@ size_t NSystemInfo::NumberOfCpus() { size_t NSystemInfo::LoadAverage(double* la, size_t len) { #if defined(_win_) || defined(_musl_) || defined(_bionic_) - int ret = -1; -#else + int ret = -1; +#else for (size_t i = 0; i < len; ++i) { la[i] = 0; } int ret = getloadavg(la, len); -#endif +#endif if (ret < 0) { for (size_t i = 0; i < len; ++i) { |