summaryrefslogtreecommitdiffstats
path: root/linux/LinuxMachine.c
diff options
context:
space:
mode:
authorNathan Scott <nathans@redhat.com>2023-05-08 10:08:20 +1000
committerNathan Scott <nathans@redhat.com>2023-05-08 13:07:50 +1000
commit290ddba35e7a1463c1a9fc5ff6bd723cd1670ba2 (patch)
treea31bbb5623459e4f4038f7876ab6b14e31004e14 /linux/LinuxMachine.c
parent72235d8e098d9d79029dca65122605741e1aafad (diff)
Minor whitespace and small logic flow improvements on review
Quality improvements from BenBE as part of review for #1234.
Diffstat (limited to 'linux/LinuxMachine.c')
-rw-r--r--linux/LinuxMachine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/LinuxMachine.c b/linux/LinuxMachine.c
index 48d0e80e..7b6abfa0 100644
--- a/linux/LinuxMachine.c
+++ b/linux/LinuxMachine.c
@@ -440,7 +440,7 @@ static void LinuxMachine_scanCPUTime(LinuxMachine* this) {
// The rest will remain at zero.
unsigned int adjCpuId;
if (i == 0) {
- (void) sscanf(buffer, "cpu %16llu %16llu %16llu %16llu %16llu %16llu %16llu %16llu %16llu %16llu", &usertime, &nicetime, &systemtime, &idletime, &ioWait, &irq, &softIrq, &steal, &guest, &guestnice);
+ (void) sscanf(buffer, "cpu %16llu %16llu %16llu %16llu %16llu %16llu %16llu %16llu %16llu %16llu", &usertime, &nicetime, &systemtime, &idletime, &ioWait, &irq, &softIrq, &steal, &guest, &guestnice);
adjCpuId = 0;
} else {
unsigned int cpuid;

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