DragonFlyBSD update

- drop unused kinfo includes and link argument
- detect kvm library necessity at configure step
- fix variable typo
This commit is contained in:
Christian Göttsche
2020-12-20 18:21:25 +01:00
parent 4a73e80338
commit 8db8b9edac
4 changed files with 9 additions and 6 deletions

View File

@ -431,7 +431,7 @@ void ProcessList_goThroughEntries(ProcessList* super, bool pauseProcessUpdate) {
}
proc->m_virt = kproc->kp_vm_map_size / ONE_K;
proc->m_resident = kproc->kp_vm_rssize * pageSizeKB;
proc->m_resident = kproc->kp_vm_rssize * pageSizeKb;
proc->nlwp = kproc->kp_nthreads; // number of lwp thread
proc->time = (kproc->kp_swtime + 5000) / 10000;