summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2014-02-06 16:32:41 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2014-02-06 16:32:41 +0000
commit6c77f1c4c17b82f71bcfa4cd2143bbd64cffe8cf (patch)
treee84f961576506ab0a2e4feaa50c16ed290d0d0e6 /sys
parenta72fc32e62b9290fffe440a878bf1189fd8567d9 (diff)
parenthesis to make the math right. ok beck kettenis
Diffstat (limited to 'sys')
-rw-r--r--sys/uvm/uvm_pdaemon.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/uvm/uvm_pdaemon.c b/sys/uvm/uvm_pdaemon.c
index 97b48cf0094..87adce09736 100644
--- a/sys/uvm/uvm_pdaemon.c
+++ b/sys/uvm/uvm_pdaemon.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_pdaemon.c,v 1.64 2013/05/30 16:29:46 tedu Exp $ */
+/* $OpenBSD: uvm_pdaemon.c,v 1.65 2014/02/06 16:32:40 tedu Exp $ */
/* $NetBSD: uvm_pdaemon.c,v 1.23 2000/08/20 10:24:14 bjh21 Exp $ */
/*
@@ -249,8 +249,8 @@ uvm_pageout(void *arg)
if (pma != NULL)
size += pma->pm_size >> PAGE_SHIFT;
if (uvmexp.free - BUFPAGES_DEFICIT < uvmexp.freetarg)
- size += uvmexp.freetarg - uvmexp.free -
- BUFPAGES_DEFICIT;
+ size += uvmexp.freetarg - (uvmexp.free -
+ BUFPAGES_DEFICIT);
(void) bufbackoff(&constraint, size * 2);
/*