summaryrefslogtreecommitdiffstats
path: root/src/freebsd
diff options
context:
space:
mode:
authorOtto Kekäläinen <otto@debian.org>2024-01-13 18:26:02 -0800
committerOtto Kekäläinen <otto@debian.org>2024-02-29 22:11:39 -0800
commitbfe8c20ebe3d180f7e0b6b2ac016c749ad3a996a (patch)
tree3279d19ad648f1ddccb0f2858f90a4e02afaf9c7 /src/freebsd
parent6c667402907171f3ba7ebb637e553cc6f66f4e66 (diff)
Fix misc spelling
Diffstat (limited to 'src/freebsd')
-rw-r--r--src/freebsd/btop_collect.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/freebsd/btop_collect.cpp b/src/freebsd/btop_collect.cpp
index decd542..a99f8df 100644
--- a/src/freebsd/btop_collect.cpp
+++ b/src/freebsd/btop_collect.cpp
@@ -265,7 +265,7 @@ namespace Cpu {
got_sensors = true;
int temp;
size_t size = sizeof(temp);
- sysctlbyname("dev.cpu.0.coretemp.tjmax", &temp, &size, nullptr, 0); //asuming the max temp is same for all cores
+ sysctlbyname("dev.cpu.0.coretemp.tjmax", &temp, &size, nullptr, 0); //assuming the max temp is same for all cores
temp = (temp - 2732) / 10; // since it's an int, it's multiplied by 10, and offset to absolute zero...
current_cpu.temp_max = temp;
}
@@ -907,7 +907,7 @@ namespace Net {
}
}
- //? Get total recieved and transmitted bytes + device address if no ip was found
+ //? Get total received and transmitted bytes + device address if no ip was found
for (const auto &iface : interfaces) {
for (const string dir : {"download", "upload"}) {
auto &saved_stat = net.at(iface).stat.at(dir);