summaryrefslogtreecommitdiffstats
path: root/linux/LinuxProcessList.c
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2022-08-14 20:19:29 +0200
committerChristian Göttsche <cgzones@googlemail.com>2022-08-14 20:19:29 +0200
commit584124c9f4032046b4ed4a3f16ec5ee97ab08c4b (patch)
tree48f55071c7e0e9e3dc5fbcceea2c9c6358527faa /linux/LinuxProcessList.c
parent1b5e0071bb210db67c6c846b9c91926fb6073852 (diff)
Convert tab indentation to spaces
[ci skip]
Diffstat (limited to 'linux/LinuxProcessList.c')
-rw-r--r--linux/LinuxProcessList.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/linux/LinuxProcessList.c b/linux/LinuxProcessList.c
index 0ed2e4f7..a28d5148 100644
--- a/linux/LinuxProcessList.c
+++ b/linux/LinuxProcessList.c
@@ -263,9 +263,9 @@ static void LinuxProcessList_updateCPUcount(ProcessList* super) {
return;
if (Running_containerized) {
- /* LXC munges /proc/cpuinfo but not the /sys/devices/system/cpu/ files,
- * so limit the visible CPUs to what the guest has been configured to see: */
- currExisting = active = scanAvailableCPUsFromCPUinfo(this);
+ /* LXC munges /proc/cpuinfo but not the /sys/devices/system/cpu/ files,
+ * so limit the visible CPUs to what the guest has been configured to see: */
+ currExisting = active = scanAvailableCPUsFromCPUinfo(this);
}
#ifdef HAVE_SENSORS_SENSORS_H
@@ -1419,7 +1419,7 @@ static bool isOlderThan(const ProcessList* pl, const Process* proc, unsigned int
/* Starttime might not yet be parsed */
if (proc->starttime_ctime <= 0)
- return false;
+ return false;
uint64_t realtime = pl->realtimeMs / 1000;

© 2014-2024 Faster IT GmbH | imprint | privacy policy