diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2021-06-13 13:57:18 +0200 |
---|---|---|
committer | Benny Baumann <BenBE@geshi.org> | 2021-07-18 07:53:03 +0200 |
commit | f608fc5c8aeb020a4ddb3297b71690f15a6179bf (patch) | |
tree | 6f835fc0b67ad62ef2a52e2a4667e43deafbadb6 /pcp | |
parent | 90cc16efc0cc400f6ff375eacdd3ac169d100985 (diff) |
OpenBSD: fix compile errors
openbsd/OpenBSDProcessList.c:176:56: error: no member named 'ki_pid' in 'struct kinfo_proc'; did you mean 'p_pid'?
const int mib[] = { CTL_KERN, KERN_PROC_CWD, kproc->ki_pid };
^~~~~~
p_pid
/usr/include/sys/sysctl.h:375:10: note: 'p_pid' declared here
int32_t p_pid; /* PID_T: Process identifier. */
^
openbsd/OpenBSDProcessList.c:458:33: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare]
if (opl->cpus[i].cpuIndex == id)
~~~~~~~~~~~~~~~~~~~~~ ^ ~~
Diffstat (limited to 'pcp')
0 files changed, 0 insertions, 0 deletions