From 458749df45a24abec1f9a820e4172a08ccfba3b1 Mon Sep 17 00:00:00 2001 From: Benny Baumann Date: Wed, 14 Jul 2021 19:15:09 +0200 Subject: Code indentation --- freebsd/FreeBSDProcessList.c | 4 ++-- freebsd/Platform.c | 10 +++++----- freebsd/Platform.h | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'freebsd') diff --git a/freebsd/FreeBSDProcessList.c b/freebsd/FreeBSDProcessList.c index 60afe074..1478e7b7 100644 --- a/freebsd/FreeBSDProcessList.c +++ b/freebsd/FreeBSDProcessList.c @@ -558,9 +558,9 @@ void ProcessList_goThroughEntries(ProcessList* super, bool pauseProcessUpdate) { proc->percent_mem = 100.0 * proc->m_resident / (double)(super->totalMem); if (kproc->ki_stat == SRUN && kproc->ki_oncpu != NOCPU) { - proc->processor = kproc->ki_oncpu; + proc->processor = kproc->ki_oncpu; } else { - proc->processor = kproc->ki_lastcpu; + proc->processor = kproc->ki_lastcpu; } proc->majflt = kproc->ki_cow; diff --git a/freebsd/Platform.c b/freebsd/Platform.c index 61a6ae37..73383b28 100644 --- a/freebsd/Platform.c +++ b/freebsd/Platform.c @@ -267,14 +267,14 @@ char* Platform_getProcessEnv(pid_t pid) { } char* Platform_getInodeFilename(pid_t pid, ino_t inode) { - (void)pid; - (void)inode; - return NULL; + (void)pid; + (void)inode; + return NULL; } FileLocks_ProcessData* Platform_getProcessLocks(pid_t pid) { - (void)pid; - return NULL; + (void)pid; + return NULL; } bool Platform_getDiskIO(DiskIOData* data) { diff --git a/freebsd/Platform.h b/freebsd/Platform.h index 2edf34f5..8c962929 100644 --- a/freebsd/Platform.h +++ b/freebsd/Platform.h @@ -82,11 +82,11 @@ static inline bool Platform_getLongOption(ATTR_UNUSED int opt, ATTR_UNUSED int a } static inline void Platform_gettime_realtime(struct timeval* tv, uint64_t* msec) { - Generic_gettime_realtime(tv, msec); + Generic_gettime_realtime(tv, msec); } static inline void Platform_gettime_monotonic(uint64_t* msec) { - Generic_gettime_monotonic(msec); + Generic_gettime_monotonic(msec); } static inline Hashtable* Platform_dynamicMeters(void) { -- cgit v1.2.3