summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjkre <usokk@student.kit.edu>2024-01-22 22:32:16 +0100
committerjkre <usokk@student.kit.edu>2024-01-22 22:32:16 +0100
commitc750543950304d8828e21ab5c6e2976c0c54235d (patch)
treebb0d6d050fe71b09d5d7467b05ce6ba12d083608
parent61105e46b77f81dfcfbc968f8f6eb9b89d4a541e (diff)
Fix missing value in battery status tuple for openbsd
-rw-r--r--src/openbsd/btop_collect.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openbsd/btop_collect.cpp b/src/openbsd/btop_collect.cpp
index c0f7b9f..3784ea9 100644
--- a/src/openbsd/btop_collect.cpp
+++ b/src/openbsd/btop_collect.cpp
@@ -202,7 +202,7 @@ namespace Cpu {
string cpuName;
string cpuHz;
bool has_battery = true;
- tuple<int, long, string> current_bat;
+ tuple<int, float, long, string> current_bat;
const array<string, 10> time_names = {"user", "nice", "system", "idle"};