Commit 1a178ad5 authored by Hisham Muhammad's avatar Hisham Muhammad
Browse files

Merge branch 'master' of https://github.com/hishamhm/htop

parents c39f18a7 978c9e16
...@@ -144,7 +144,7 @@ int Platform_getMaxPid() { ...@@ -144,7 +144,7 @@ int Platform_getMaxPid() {
size_t size = sizeof(maxPid); size_t size = sizeof(maxPid);
int err = sysctlbyname("kern.pid_max", &maxPid, &size, NULL, 0); int err = sysctlbyname("kern.pid_max", &maxPid, &size, NULL, 0);
if (err) { if (err) {
return 99999; return 999999;
} }
return maxPid; return maxPid;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment