mirror of https://github.com/xzeldon/htop.git
Update OpenBSD maximum PID
The source code correctly states that the maximum PID number in the OpenBSD kernel is fixed in sys/sys/proc.h, however this was updated in revision 1.215 (two years ago!) from 32766 to 99999.
This commit is contained in:
parent
666e1e76b3
commit
3d79c72e9a
|
@ -197,7 +197,7 @@ void Platform_getLoadAverage(double* one, double* five, double* fifteen) {
|
|||
|
||||
int Platform_getMaxPid() {
|
||||
// this is hard-coded in sys/sys/proc.h - no sysctl exists
|
||||
return 32766;
|
||||
return 99999;
|
||||
}
|
||||
|
||||
double Platform_setCPUValues(Meter* this, int cpu) {
|
||||
|
|
Loading…
Reference in New Issue