diff options
author | 1996-12-09 08:36:41 +0000 | |
---|---|---|
committer | 1996-12-09 08:36:41 +0000 | |
commit | 6385e71c33db156836948a6b8b503d53f9e1c37a (patch) | |
tree | eb58552b277c2bc9c6bd627ee7e3c96aa6076625 | |
parent | brelse properly (diff) | |
download | wireguard-openbsd-6385e71c33db156836948a6b8b503d53f9e1c37a.tar.xz wireguard-openbsd-6385e71c33db156836948a6b8b503d53f9e1c37a.zip |
minor whoops
-rw-r--r-- | sys/arch/i386/i386/machdep.c | 6 |
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) { |