summaryrefslogtreecommitdiff
path: root/sys/vm/swap_pager.c
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1996-08-12 23:42:13 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1996-08-12 23:42:13 +0000
commitd60fe05dc68d49bc57eb976152992e8e12efc9d7 (patch)
tree5e49fafa48e1118e1f547310cd67f377d63b11af /sys/vm/swap_pager.c
parent89f9282c49b48d43b09f288b6bc437b97f9fb94e (diff)
Clarify precedense with parenthesis
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 a59898e59fa..7cad5879427 100644
--- a/sys/vm/swap_pager.c
+++ b/sys/vm/swap_pager.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: swap_pager.c,v 1.7 1996/08/12 22:18:39 niklas Exp $ */
+/* $OpenBSD: swap_pager.c,v 1.8 1996/08/12 23:42:12 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 || 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. */