summaryrefslogtreecommitdiff
path: root/sys/vm/swap_pager.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1996-05-02 14:21:14 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1996-05-02 14:21:14 +0000
commite911eafcbae5366e66f9560ca18bf60c5f8157a4 (patch)
treec11aef2f7af5663393e978cd03a223a2ffbe6c69 /sys/vm/swap_pager.c
parent74de633578b6bec2359f61c95bbbcb4f50a3599b (diff)
Notes
Diffstat (limited to 'sys/vm/swap_pager.c')
-rw-r--r--sys/vm/swap_pager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/swap_pager.c b/sys/vm/swap_pager.c
index 8cbf3b82c8f1..d5489316639a 100644
--- a/sys/vm/swap_pager.c
+++ b/sys/vm/swap_pager.c
@@ -39,7 +39,7 @@
* from: Utah $Hdr: swap_pager.c 1.4 91/04/30$
*
* @(#)swap_pager.c 8.9 (Berkeley) 3/21/94
- * $Id: swap_pager.c,v 1.62 1996/03/03 21:11:05 dyson Exp $
+ * $Id: swap_pager.c,v 1.63 1996/03/06 04:31:46 dyson Exp $
*/
/*
@@ -208,7 +208,7 @@ swap_pager_init()
/*
* Calculate the swap allocation constants.
*/
- dmmin = CLBYTES / DEV_BSIZE;
+ dmmin = PAGE_SIZE / DEV_BSIZE;
dmmax = btodb(SWB_NPAGES * PAGE_SIZE) * 2;
}