summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-12-09 08:36:42 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-12-09 08:36:42 +0000
commit075b812bdd9cfa01ba55095621e15cb0d70ff5ba (patch)
treeb17565000a922be5f19dfffd826640ac31faf12e
parent13cbeee19cb2cfc887ed6c0f5c574e13f03f74b0 (diff)
minor whoops
-rw-r--r--sys/arch/i386/i386/machdep.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/i386/i386/machdep.c b/sys/arch/i386/i386/machdep.c
index 0743c49c7ae..ee62226a4ee 100644
--- a/sys/arch/i386/i386/machdep.c
+++ b/sys/arch/i386/i386/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.29 1996/12/05 18:08:06 dm Exp $ */
+/* $OpenBSD: machdep.c,v 1.30 1996/12/09 08:36:41 deraadt Exp $ */
/* $NetBSD: machdep.c,v 1.202 1996/05/18 15:54:59 christos Exp $ */
/*-
@@ -376,8 +376,8 @@ allocsys(v)
((100/BUFCACHEPERCENT) * CLSIZE);
/* Restrict to at most 70% filled kvm */
- if (bufpages * MAXBSIZE * 7 / 10 >
- (VM_MAX_KERNEL_ADDRESS-VM_MIN_KERNEL_ADDRESS))
+ if (bufpages * MAXBSIZE >
+ (VM_MAX_KERNEL_ADDRESS-VM_MIN_KERNEL_ADDRESS) * 7 / 10)
bufpages = (VM_MAX_KERNEL_ADDRESS-VM_MIN_KERNEL_ADDRESS) /
MAXBSIZE * 7 / 10;
if (nbuf == 0) {