summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/conf/param.c4
-rw-r--r--sys/kern/subr_param.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/conf/param.c b/sys/conf/param.c
index b78a292..00d2484 100644
--- a/sys/conf/param.c
+++ b/sys/conf/param.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)param.c 8.3 (Berkeley) 8/20/94
- * $Id: param.c,v 1.26 1998/02/27 19:58:29 guido Exp $
+ * $Id: param.c,v 1.27 1998/05/15 20:10:54 wollman Exp $
*/
#include "opt_sysvipc.h"
@@ -70,7 +70,7 @@
#endif
int hz = HZ;
int tick = 1000000 / HZ;
-int tickadj = 30000 / (60 * HZ); /* can adjust 30ms in 60s */
+int tickadj = howmany(30000, 60 * HZ); /* can adjust 30ms in 60s */
#define NPROC (20 + 16 * MAXUSERS)
#define MAXFILES (NPROC*2)
int maxproc = NPROC; /* maximum # of processes */
diff --git a/sys/kern/subr_param.c b/sys/kern/subr_param.c
index b78a292..00d2484 100644
--- a/sys/kern/subr_param.c
+++ b/sys/kern/subr_param.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)param.c 8.3 (Berkeley) 8/20/94
- * $Id: param.c,v 1.26 1998/02/27 19:58:29 guido Exp $
+ * $Id: param.c,v 1.27 1998/05/15 20:10:54 wollman Exp $
*/
#include "opt_sysvipc.h"
@@ -70,7 +70,7 @@
#endif
int hz = HZ;
int tick = 1000000 / HZ;
-int tickadj = 30000 / (60 * HZ); /* can adjust 30ms in 60s */
+int tickadj = howmany(30000, 60 * HZ); /* can adjust 30ms in 60s */
#define NPROC (20 + 16 * MAXUSERS)
#define MAXFILES (NPROC*2)
int maxproc = NPROC; /* maximum # of processes */
OpenPOWER on IntegriCloud