diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2014-02-06 16:32:41 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2014-02-06 16:32:41 +0000 |
commit | 6c77f1c4c17b82f71bcfa4cd2143bbd64cffe8cf (patch) | |
tree | e84f961576506ab0a2e4feaa50c16ed290d0d0e6 /sys | |
parent | a72fc32e62b9290fffe440a878bf1189fd8567d9 (diff) |
parenthesis to make the math right. ok beck kettenis
Diffstat (limited to 'sys')
-rw-r--r-- | sys/uvm/uvm_pdaemon.c | 6 |
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); /* |