summaryrefslogtreecommitdiffstats
path: root/sys/vm
diff options
context:
space:
mode:
authorattilio <attilio@FreeBSD.org>2012-06-24 01:28:36 +0000
committerattilio <attilio@FreeBSD.org>2012-06-24 01:28:36 +0000
commit5e431fc40151cd7cc17cedd729fa890616ec7433 (patch)
tree6eb8e6e26b56a23d4c7d08630645d44b899d9913 /sys/vm
parenta22108a261c9021c030ac4c4a548c405f901fdae (diff)
downloadFreeBSD-src-5e431fc40151cd7cc17cedd729fa890616ec7433.zip
FreeBSD-src-5e431fc40151cd7cc17cedd729fa890616ec7433.tar.gz
Fix an inverted logic or.
Reported by: pho
Diffstat (limited to 'sys/vm')
-rw-r--r--sys/vm/vm_object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c
index 25d3057..8b57a60 100644
--- a/sys/vm/vm_object.c
+++ b/sys/vm/vm_object.c
@@ -1506,7 +1506,7 @@ restart:
if (i == n) {
if (n < VM_RADIX_STACK)
break;
- if (exhausted != 0 &&
+ if (exhausted != 0 ||
(n = vm_radix_lookupn(&backing_object->rtree,
start, 0, color, (void **)pa, VM_RADIX_STACK,
&start, &exhausted)) == 0)
OpenPOWER on IntegriCloud