diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-08-12 22:18:40 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-08-12 22:18:40 +0000 |
commit | ba179928942c3009c575169cbabd16217399b786 (patch) | |
tree | 646f5e7e9cc923435dd436c3c80dffe57abc1d51 /sys/vm | |
parent | a4bbfa1ebe4935dc3de25a3afa34e009ba4479f6 (diff) |
Another VITAL VM patch. Boundary condition not solid, which last commit
triggered.
Diffstat (limited to 'sys/vm')
-rw-r--r-- | sys/vm/swap_pager.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/swap_pager.c b/sys/vm/swap_pager.c index eb36eb0ae11..a59898e59fa 100644 --- a/sys/vm/swap_pager.c +++ b/sys/vm/swap_pager.c @@ -1,4 +1,4 @@ -/* $OpenBSD: swap_pager.c,v 1.6 1996/08/05 07:37:46 niklas Exp $ */ +/* $OpenBSD: swap_pager.c,v 1.7 1996/08/12 22:18:39 niklas Exp $ */ /* $NetBSD: swap_pager.c,v 1.27 1996/03/16 23:15:20 christos Exp $ */ /* @@ -1114,7 +1114,7 @@ swap_pager_remove(pager, from, to) * swap block as well. */ for (swb = &swp->sw_blocks[blk], mask = (1 << bit) - 1; - blk < to_blk || to_bit; + blk < to_blk || blk == to_blk && to_bit; blk++, swb++, mask = 0) { /* Don't bother if the block is already cleared. */ |