mirror of
https://github.com/xzeldon/htop.git
synced 2024-12-24 15:15:44 +00:00
Merge branch 'master' of https://github.com/hishamhm/htop
This commit is contained in:
commit
1a178ad581
@ -144,7 +144,7 @@ int Platform_getMaxPid() {
|
||||
size_t size = sizeof(maxPid);
|
||||
int err = sysctlbyname("kern.pid_max", &maxPid, &size, NULL, 0);
|
||||
if (err) {
|
||||
return 99999;
|
||||
return 999999;
|
||||
}
|
||||
return maxPid;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user