summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2001-12-14 09:39:29 +0000
committerpeter <peter@FreeBSD.org>2001-12-14 09:39:29 +0000
commitdd0f3c5ca2419990ada9a4e312f7d8bb9b922c88 (patch)
tree111e97297c936f179a775ad0eca7ba65020fba15
parent39d603917811870d9bbfdea0f1f34273b532d012 (diff)
downloadFreeBSD-src-dd0f3c5ca2419990ada9a4e312f7d8bb9b922c88.zip
FreeBSD-src-dd0f3c5ca2419990ada9a4e312f7d8bb9b922c88.tar.gz
Proper fix for old config setting maxusers to 8.
-rw-r--r--sys/conf/Makefile.alpha2
-rw-r--r--sys/conf/Makefile.i3862
-rw-r--r--sys/conf/Makefile.ia642
-rw-r--r--sys/conf/Makefile.pc982
-rw-r--r--sys/conf/Makefile.powerpc2
-rw-r--r--sys/conf/Makefile.sparc642
-rw-r--r--sys/kern/subr_param.c2
7 files changed, 7 insertions, 7 deletions
diff --git a/sys/conf/Makefile.alpha b/sys/conf/Makefile.alpha
index 75de6af..c744f5e 100644
--- a/sys/conf/Makefile.alpha
+++ b/sys/conf/Makefile.alpha
@@ -17,7 +17,7 @@
#
# Which version of config(8) is required.
-%VERSREQ= 500008
+%VERSREQ= 500009
.if !defined(S)
.if exists(./@/.)
diff --git a/sys/conf/Makefile.i386 b/sys/conf/Makefile.i386
index ae6932a..2347b26 100644
--- a/sys/conf/Makefile.i386
+++ b/sys/conf/Makefile.i386
@@ -17,7 +17,7 @@
#
# Which version of config(8) is required.
-%VERSREQ= 500008
+%VERSREQ= 500009
STD8X16FONT?= iso
diff --git a/sys/conf/Makefile.ia64 b/sys/conf/Makefile.ia64
index eca64f7..fbccd26 100644
--- a/sys/conf/Makefile.ia64
+++ b/sys/conf/Makefile.ia64
@@ -30,7 +30,7 @@ MACHINE_ARCH= ia64
FMT= # Needs to be blank for linux cross tools.
# Which version of config(8) is required.
-%VERSREQ= 500008
+%VERSREQ= 500009
STD8X16FONT?= iso
diff --git a/sys/conf/Makefile.pc98 b/sys/conf/Makefile.pc98
index 54e1b72..5373c0e 100644
--- a/sys/conf/Makefile.pc98
+++ b/sys/conf/Makefile.pc98
@@ -19,7 +19,7 @@
#
# Which version of config(8) is required.
-%VERSREQ= 500008
+%VERSREQ= 500009
.if !defined(S)
.if exists(./@/.)
diff --git a/sys/conf/Makefile.powerpc b/sys/conf/Makefile.powerpc
index a135913..9d228ea 100644
--- a/sys/conf/Makefile.powerpc
+++ b/sys/conf/Makefile.powerpc
@@ -17,7 +17,7 @@
#
# Which version of config(8) is required.
-%VERSREQ= 500008
+%VERSREQ= 500009
# Temporary stuff while we're still embryonic
NO_MODULES?= yes
diff --git a/sys/conf/Makefile.sparc64 b/sys/conf/Makefile.sparc64
index 3b45319..a98003f 100644
--- a/sys/conf/Makefile.sparc64
+++ b/sys/conf/Makefile.sparc64
@@ -36,7 +36,7 @@ CWARNFLAGS= -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \
FMT=
# Which version of config(8) is required.
-%VERSREQ= 500008
+%VERSREQ= 500009
STD8X16FONT?= iso
diff --git a/sys/kern/subr_param.c b/sys/kern/subr_param.c
index e6d1498..4d47f0f 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 || maxusers == 8) {
+ if ((maxusers = MAXUSERS) == 0) {
maxusers = physpages / (1024 * 1024 / PAGE_SIZE);
if (maxusers < 32)
maxusers = 32;
OpenPOWER on IntegriCloud