diff options
author | Benny Baumann <BenBE@geshi.org> | 2021-07-14 19:15:09 +0200 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2021-07-15 06:57:24 +0200 |
commit | 458749df45a24abec1f9a820e4172a08ccfba3b1 (patch) | |
tree | de48ef3f0c15e6f748e99868f1f8c4d340a0296c /freebsd | |
parent | e7f8d7bcc954e965143331ec3f2353c03959acc6 (diff) |
Code indentation
Diffstat (limited to 'freebsd')
-rw-r--r-- | freebsd/FreeBSDProcessList.c | 4 | ||||
-rw-r--r-- | freebsd/Platform.c | 10 | ||||
-rw-r--r-- | freebsd/Platform.h | 4 |
3 files changed, 9 insertions, 9 deletions
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) { |