summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/vm/vm_contig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/vm_contig.c b/sys/vm/vm_contig.c
index d3dc623..12ec718 100644
--- a/sys/vm/vm_contig.c
+++ b/sys/vm/vm_contig.c
@@ -447,7 +447,7 @@ retry:
break;
}
/* There are no candidates at all. */
- if (i == -1) {
+ if (i < 0) {
vm_page_unlock_queues();
continue;
}
OpenPOWER on IntegriCloud