Commit 978c9e16 authored by Hisham Muhammad's avatar Hisham Muhammad Committed by GitHub
Browse files

Merge pull request #647 from Explorer09/dragonfly-pid-max

DragonFlyBSD PID_MAX is 999999.
parents 71785e2d e70f447d
......@@ -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;
}
......
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