summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_param.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/subr_param.c')
-rw-r--r--sys/kern/subr_param.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_param.c b/sys/kern/subr_param.c
index 4d47f0f..e6d1498 100644
--- a/sys/kern/subr_param.c
+++ b/sys/kern/subr_param.c
@@ -133,7 +133,7 @@ init_param2(int physpages)
{
/* Base parameters */
- if ((maxusers = MAXUSERS) == 0) {
+ if ((maxusers = MAXUSERS) == 0 || maxusers == 8) {
maxusers = physpages / (1024 * 1024 / PAGE_SIZE);
if (maxusers < 32)
maxusers = 32;
OpenPOWER on IntegriCloud