diff options
author | Lance Chen <cyen0312@gmail.com> | 2015-06-07 17:20:36 +0800 |
---|---|---|
committer | Lance Chen <lancecychen@kkbox.com> | 2015-06-07 17:31:05 +0800 |
commit | 5a5dc7177080054649f46c1a73af5d885a978aa3 (patch) | |
tree | c6042223d674aa80b49d04deb527c61ed5b482e2 /freebsd/FreeBSDProcessList.c | |
parent | 1efa544e1ba1e45a1a4f53e6dc6908682e60e519 (diff) |
Cast FreeBSDProcess_new to Process_New
`Process_new_fn` had been renamed to `Process_New` in
d880def0e9b5dcce07917aa7cc71e49bddf21c16
Diffstat (limited to 'freebsd/FreeBSDProcessList.c')
-rw-r--r-- | freebsd/FreeBSDProcessList.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/freebsd/FreeBSDProcessList.c b/freebsd/FreeBSDProcessList.c index aaebc928..cc51a7cd 100644 --- a/freebsd/FreeBSDProcessList.c +++ b/freebsd/FreeBSDProcessList.c @@ -146,7 +146,7 @@ void ProcessList_goThroughEntries(ProcessList* this) { struct kinfo_proc* kproc = &kprocs[i]; bool preExisting = false; - Process* proc = ProcessList_getProcess(this, kproc->ki_pid, &preExisting, (Process_new_fn) FreeBSDProcess_new); + Process* proc = ProcessList_getProcess(this, kproc->ki_pid, &preExisting, (Process_New) FreeBSDProcess_new); FreeBSDProcess* fp = (FreeBSDProcess*) proc; proc->show = ! ((hideKernelThreads && Process_isKernelThread(proc)) || (hideUserlandThreads && Process_isUserlandThread(proc))); |