summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorExplorer09 <explorer09@gmail.com>2017-07-07 20:38:04 +0800
committerExplorer09 <explorer09@gmail.com>2017-07-07 20:38:04 +0800
commite70f447d5422b451cfa841786b639ddfc8b14553 (patch)
tree6c5250180366e04e7b004dc79eeb3dfebabb432f
parent71785e2ded88f25370b24b06978a78f4fd2ba524 (diff)
DragonFlyBSD PID_MAX is 999999.
See DragonFlyBSD source "sys/sys/proc.h". Fixes #646
-rw-r--r--dragonflybsd/Platform.c2
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;
}

© 2014-2024 Faster IT GmbH | imprint | privacy policy