diff options
author | Explorer09 <explorer09@gmail.com> | 2017-07-07 20:38:04 +0800 |
---|---|---|
committer | Explorer09 <explorer09@gmail.com> | 2017-07-07 20:38:04 +0800 |
commit | e70f447d5422b451cfa841786b639ddfc8b14553 (patch) | |
tree | 6c5250180366e04e7b004dc79eeb3dfebabb432f /dragonflybsd | |
parent | 71785e2ded88f25370b24b06978a78f4fd2ba524 (diff) |
DragonFlyBSD PID_MAX is 999999.
See DragonFlyBSD source "sys/sys/proc.h".
Fixes #646
Diffstat (limited to 'dragonflybsd')
-rw-r--r-- | dragonflybsd/Platform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dragonflybsd/Platform.c b/dragonflybsd/Platform.c index fede7a73..370943d7 100644 --- a/dragonflybsd/Platform.c +++ b/dragonflybsd/Platform.c @@ -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; } |